Update of /cvsroot/simplemail/simplemail
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv1626
Modified Files:
imap.c
Log Message:
The path variable was not initialized. Fixed.
Index: imap.c
===================================================================
RCS file: /cvsroot/simplemail/simplemail/imap.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- imap.c 24 Dec 2013 09:33:19 -0000 1.87
+++ imap.c 24 Dec 2013 09:33:34 -0000 1.88
@@ -2341,6 +2341,7 @@
/* At first copy the mail to a temporary location because we may store the emails which only has a \n ending */
if (!(tfh = tmpfile())) return 0;
+ getcwd(path, sizeof(path));
if (chdir(source_dir) == -1)
{
fclose(tfh);
|