Mercurial > libpst
diff src/readpst.c @ 182:b65e8d0a088a
more cleanup on external names in the shared object file
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 13 Apr 2009 11:39:33 -0700 |
parents | 6954d315aaa8 |
children | 0a4f7ecd7452 |
line wrap: on
line diff
--- a/src/readpst.c Fri Apr 10 13:10:14 2009 -0700 +++ b/src/readpst.c Mon Apr 13 11:39:33 2009 -0700 @@ -1054,7 +1054,7 @@ // and is now in utf-8. size_t rc; DEBUG_EMAIL(("Convert %s utf-8 to %s\n", mime, charset)); - vbuf *newer = pst_vballoc(2); + pst_vbuf *newer = pst_vballoc(2); rc = pst_vb_utf8to8bit(newer, body->str, strlen(body->str), charset); if (rc == (size_t)-1) { // unable to convert, change the charset to utf8 @@ -1130,7 +1130,7 @@ // convert the sent date if it exists, or set it to a fixed date if (item->email->sent_date) { - em_time = pst_fileTimeToUnixTime(item->email->sent_date, 0); + em_time = pst_fileTimeToUnixTime(item->email->sent_date); c_time = ctime(&em_time); if (c_time) c_time[strlen(c_time)-1] = '\0'; //remove end \n