diff options
| author | Sam Varshavchik | 2015-02-16 08:35:59 -0500 |
|---|---|---|
| committer | Sam Varshavchik | 2015-02-16 08:35:59 -0500 |
| commit | 4139c319571fd7fd9aa345e166e913eab90a50a3 (patch) | |
| tree | bc63fb9de339313384bd4879f07d3f409a7e7bc8 /imap/smap.c | |
| parent | 0623b6558a49900fb92e5c1bf103c9714f35ce2c (diff) | |
| download | courier-libs-4139c319571fd7fd9aa345e166e913eab90a50a3.tar.bz2 | |
Fix compiler warning.
Diffstat (limited to 'imap/smap.c')
| -rw-r--r-- | imap/smap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/imap/smap.c b/imap/smap.c index 9fe3253..efe88e4 100644 --- a/imap/smap.c +++ b/imap/smap.c @@ -1531,7 +1531,7 @@ static int dump_hdrs(int fd, unsigned long n, src=rfc2045src_init_fd(fd); h=src ? rfc2045header_start(src, rfcp):NULL; - + while (h && (rc=rfc2045header_get(h, &header, &value, get_flags)) == 0 && header) @@ -2300,7 +2300,7 @@ static void copieduid(unsigned long n, char *newname) if ((q=strrchr(p, MDIRSEP[0])) != NULL) *q=0; - + smapword_s(p); writes("\"\n"); } @@ -3789,7 +3789,7 @@ void smap() writes("* STATUS EXISTS="); writen(infoptr->nmessages+infoptr->left_unseen); - n=infoptr->left_unseen, i; + n=infoptr->left_unseen; for (i=0; i<infoptr->nmessages; i++) { |
