Mercurial > libpst
view archive/libpst.c.diff @ 385:0917d53d78b3
Rename configure.in to configure.ac
The old name was deprecated in 2013.
See-also: https://lists.gnu.org/archive/html/automake/2013-05/msg00049.html
Suggested-by: lintian, aclocal
X: libpst source: deprecated-configure-filename
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
author | Paul Wise <pabs3@bonedaddy.net> |
---|---|
date | Sat, 21 Dec 2019 21:25:44 +0800 |
parents | de3753c3160a |
children |
line wrap: on
line source
Index: libpst.c =================================================================== --- libpst.c (revision 45) +++ libpst.c (working copy) @@ -296,7 +296,9 @@ size = _pst_ff_getID2data(pf, ptr, &h); // will need to encode any bytes left over c = base64_encode(h.base64_extra_chars, h.base64_extra); - pst_fwrite(c, 1, strlen(c), fp); + if(c != NULL) { + pst_fwrite(c, 1, strlen(c), fp); + } } else { DEBUG_WARN (("Couldn't find ID pointer. Cannot save attachement to Base64\n")); }