Permalink
Browse files

Merge pull request #26 from notmmao/patch-1

Update tests/mime-create.c
  • Loading branch information...
2 parents 4e7a5cb + 25b5211 commit e23e23ec00e27bab141989b8bda73ed9ed47f7b7 @dinhviethoa dinhviethoa committed Dec 26, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/mime-create.c
View
@@ -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 e23e23e

Please sign in to comment.