comparison archive/libpst.c.diff @ 57:de3753c3160a

add archive directory with history of alioth versions that have been merged here
author Carl Byington <carl@five-ten-sg.com>
date Sat, 02 Feb 2008 12:54:07 -0800
parents
children
comparison
equal deleted inserted replaced
56:b504411ad213 57:de3753c3160a
1 Index: libpst.c
2 ===================================================================
3 --- libpst.c (revision 45)
4 +++ libpst.c (working copy)
5 @@ -296,7 +296,9 @@
6 size = _pst_ff_getID2data(pf, ptr, &h);
7 // will need to encode any bytes left over
8 c = base64_encode(h.base64_extra_chars, h.base64_extra);
9 - pst_fwrite(c, 1, strlen(c), fp);
10 + if(c != NULL) {
11 + pst_fwrite(c, 1, strlen(c), fp);
12 + }
13 } else {
14 DEBUG_WARN (("Couldn't find ID pointer. Cannot save attachement to Base64\n"));
15 }