Permalink
Browse files

Update tests/mime-create.c

  • Loading branch information...
1 parent 4e7a5cb commit 25b5211cfe2f26552120229017bf6dd7b96ef37c @notmmao notmmao committed Dec 26, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/mime-create.c
View
4 tests/mime-create.c
@@ -319,7 +319,7 @@ int main(int argc, char ** argv)
msg_mime = mailmime_new_message_data(NULL);
fields = build_fields();
- mailmime_set_imf_fields(mime, fields);
+ mailmime_set_imf_fields(msg_mime, fields);
mime = get_multipart_mixed(NULL);
@@ -333,7 +333,7 @@ int main(int argc, char ** argv)
col = 0;
mailmime_write_file(stdout, &col, mime);
- mailmime_free(mime);
+ mailmime_free(msg_mime);
exit(0);
}

0 comments on commit 25b5211

Please sign in to comment.