src/mime.c
changeset 87 060a95de62a8
parent 70 c0382670c294
child 88 ac617f70bd7f
     1.1 --- a/src/mime.c	Tue Mar 03 17:10:28 2015 +0100
     1.2 +++ b/src/mime.c	Wed Mar 04 10:39:29 2015 +0100
     1.3 @@ -14,7 +14,7 @@
     1.4          const char *plaintext,
     1.5          const char *htmltext,
     1.6          bloblist_t *attachments,
     1.7 -        char **resulttext
     1.8 +        char **mimetext
     1.9      )
    1.10  {
    1.11      struct mailmime * mime = NULL;
    1.12 @@ -28,9 +28,9 @@
    1.13      PEP_STATUS error;
    1.14  
    1.15      assert(plaintext);
    1.16 -    assert(resulttext);
    1.17 +    assert(mimetext);
    1.18  
    1.19 -    *resulttext = NULL;
    1.20 +    *mimetext = NULL;
    1.21  
    1.22      if (htmltext) {
    1.23          mime = part_multiple_new("multipart/alternative", NULL);
    1.24 @@ -199,7 +199,7 @@
    1.25      assert(r == 0);
    1.26  
    1.27      mailmime_free(mime);
    1.28 -    *resulttext = buf;
    1.29 +    *mimetext = buf;
    1.30      return PEP_STATUS_OK;
    1.31  
    1.32  err_buffer: