Mercurial > libpst
diff src/pst2dii.cpp.in @ 146:0695de3b5a98 stable-0-6-29
fix for 64bit on Fedora 11
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 24 Feb 2009 15:32:56 -0800 |
parents | fdc58ad2c758 |
children | cda7c812ec01 |
line wrap: on
line diff
--- a/src/pst2dii.cpp.in Tue Feb 24 13:18:46 2009 -0800 +++ b/src/pst2dii.cpp.in Tue Feb 24 15:32:56 2009 -0800 @@ -384,7 +384,7 @@ { close_png(); conversion += string(" ") + pdf_name; - system(conversion.c_str()); + (void)system(conversion.c_str()); for (vector<string>::iterator i=png_names.begin(); i!=png_names.end(); i++) { remove((*i).c_str()); } @@ -562,7 +562,9 @@ removeCR(item->email->htmlbody); print_pdf(item->email->htmlbody); } else if (item->email->encrypted_body || item->email->encrypted_htmlbody) { - print_pdf("The body of this email is encrypted. This isn't supported yet, but the body is now an attachment\n"); + char ln[LINE_SIZE]; + snprintf(ln, sizeof(ln), "%s", "The body of this email is encrypted. This isn't supported yet, but the body is now an attachment\n"); + print_pdf(ln); } fprintf(dii_file, "@EMAIL-END\n");