Show
Ignore:
Timestamp:
09/19/10 20:59:45 (20 months ago)
Author:
Antti-Juhani Kaijanaho <antti-juhani@…>
Children:
11cf105fe323361072281747558cb61752f33fa8
Parents:
81c6e32180ba6f1018c28ae75b7281fd38121812
git-committer:
Antti-Juhani Kaijanaho <antti-juhani@…> (09/19/10 20:59:45)
Message:

Rework entity handling

Signed-off-by: Antti-Juhani Kaijanaho <antti-juhani@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • local/connection.cc

    r1a970cd r99057e4  
    9999                                        util::streambuf_to_string(*sbp, n); 
    100100                                if (s.length() > n) s.resize(n); 
    101                                 ent.reset(new msg::entity(s)); 
     101                                ent = msg::entity::mk(s, false); 
    102102                        } 
    103103                        catch (msg::format_violation &fv) 
     
    113113                        } 
    114114 
    115                         msg::entity::ptr m(new msg::entity(ms)); 
     115                        msg::entity::ptr m(msg::entity::mk(ms, false)); 
    116116 
    117117                        // identify action