[Pkg-wmaker-commits] [wmbiff] 61/84: compiler warning fixes
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:02:00 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to tag wmbiff_0_4_10
in repository wmbiff.
commit 52bd4c0778b29e344836c5109c01588faa0cdf9b
Author: bluehal <bluehal>
Date: Wed Sep 18 23:45:57 2002 +0000
compiler warning fixes
---
wmbiff/maildirClient.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/wmbiff/maildirClient.c b/wmbiff/maildirClient.c
index 65c3a37..83d8771 100644
--- a/wmbiff/maildirClient.c
+++ b/wmbiff/maildirClient.c
@@ -1,11 +1,11 @@
-/* $Id: maildirClient.c,v 1.10 2002/09/18 23:43:49 bluehal Exp $ */
+/* $Id: maildirClient.c,v 1.11 2002/09/18 23:45:57 bluehal Exp $ */
/* Author : Yong-iL Joh ( tolkien at mizi.com )
Modified : Jorge Garc�a ( Jorge.Garcia at uv.es )
Modified : Dwayne C. Litzenberger ( dlitz at dlitz.net )
*
* Maildir checker.
*
- * Last Updated : $Date: 2002/09/18 23:43:49 $
+ * Last Updated : $Date: 2002/09/18 23:45:57 $
*
*/
@@ -18,6 +18,7 @@
#include <dirent.h>
#include <errno.h>
#include <utime.h>
+#include <unistd.h>
#ifdef USE_DMALLOC
#include <dmalloc.h>
#endif
@@ -70,7 +71,7 @@ int maildirCheckHistory(Pop3 pc)
if (pc->u.maildir.dircache_flush) {
/* hack to clear directory cache for network-mounted maildirs */
- if (fn = mktemp(path_newtmp)) {
+ if ((fn = mktemp(path_newtmp)) != NULL) {
unlink(fn);
} else {
DM(pc, DEBUG_ERROR,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git
More information about the Pkg-wmaker-commits
mailing list