Index: fetchmail.c =================================================================== RCS file: /home/cvs/debian/fetchmail/fetchmail.c,v retrieving revision 1.1.1.28 retrieving revision 1.29 diff -u -r1.1.1.28 -r1.29 --- fetchmail.c 9 Nov 2001 00:24:04 -0000 1.1.1.28 +++ fetchmail.c 16 Dec 2001 11:44:08 -0000 1.29 @@ -487,8 +487,10 @@ { if (run.logfile && access(run.logfile, F_OK) == 0) { - freopen(run.logfile, "a", stdout); - freopen(run.logfile, "a", stderr); + if (!freopen(run.logfile, "a", stdout)) + report(stderr, GT_("could not open %s to append logs to \n"), run.logfile); + if (!freopen(run.logfile, "a", stderr)) + report(stdout, GT_("could not open %s to append logs to \n"), run.logfile); } } @@ -706,7 +708,7 @@ exit(PS_AUTHFAIL); } - if (outlevel > O_SILENT) + if (outlevel > O_NORMAL) report(stdout, GT_("sleeping at %s\n"), timestamp()); Index: fetchmail.h =================================================================== RCS file: /home/cvs/debian/fetchmail/fetchmail.h,v retrieving revision 1.1.1.21 retrieving revision 1.17 diff -u -r1.1.1.21 -r1.17 --- fetchmail.h 14 Dec 2001 07:50:01 -0000 1.1.1.21 +++ fetchmail.h 14 Dec 2001 18:37:43 -0000 1.17 @@ -506,7 +506,7 @@ /* base64.c */ void to64frombits(unsigned char *, const unsigned char *, int); -int from64tobits(char *, const char *, int len); +int from64tobits(char *, const char *, int maxlen); /* unmime.c */ /* Bit-mask returned by MimeBodyType */ Index: socket.c =================================================================== RCS file: /home/cvs/debian/fetchmail/socket.c,v retrieving revision 1.1.1.14 retrieving revision 1.6 diff -u -r1.1.1.14 -r1.6 --- socket.c 9 Nov 2001 00:24:05 -0000 1.1.1.14 +++ socket.c 16 Dec 2001 11:44:08 -0000 1.6 @@ -223,7 +223,7 @@ sigset_t allsigs; #endif /* HAVE_SIGPROCMASK */ - int stat, sock = -1; + int sock = -1; struct sockaddr_un ad; memset(&ad, 0, sizeof(ad)); ad.sun_family = AF_UNIX;