test/mime_test.cc
changeset 281 9f7691853773
parent 165 f0894860af4a
child 302 1d1a2e776631
     1.1 --- a/test/mime_test.cc	Sun May 24 11:06:29 2015 +0200
     1.2 +++ b/test/mime_test.cc	Mon May 25 23:31:17 2015 +0200
     1.3 @@ -26,7 +26,7 @@
     1.4  
     1.5      cout << "decoding message…\n";
     1.6      message *msg3;
     1.7 -    PEP_STATUS status3 = mime_decode_message(mimetext3.c_str(), &msg3);
     1.8 +    PEP_STATUS status3 = mime_decode_message(mimetext3.c_str(), mimetext3.length(), &msg3);
     1.9      assert(status3 == PEP_STATUS_OK);
    1.10      assert(msg3);
    1.11      cout << "decoded.\n\n";