pEp_utility.cpp
changeset 81 73bb211934ab
parent 74 f2531096699e
child 82 29ea9f52055d
     1.1 --- a/pEp_utility.cpp	Thu May 12 00:26:42 2016 +0200
     1.2 +++ b/pEp_utility.cpp	Thu May 12 01:01:24 2016 +0200
     1.3 @@ -289,7 +289,7 @@
     1.4              assert(msg2);
     1.5              assert(msg);
     1.6  
     1.7 -            clear_text_message(msg2);
     1.8 +            memset(msg2, 0, sizeof(text_message));
     1.9  
    1.10              msg2->dir = (pEp_msg_direction) msg->dir;
    1.11              msg2->id = bstr(msg->id);