]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Compiler warning fix
authorTimo Sirainen <tss@iki.fi>
Sun, 21 Sep 2003 16:14:38 +0000 (19:14 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 21 Sep 2003 16:14:38 +0000 (19:14 +0300)
--HG--
branch : HEAD

src/imap/imap-fetch-body-section.c

index 4ac16d5ffe9188145d2e6a9cd7f0d3a21e917ee9..4a4e0ce464f1610f34ca920af4ca20d54162e21c 100644 (file)
@@ -414,7 +414,7 @@ static int part_find(struct mail *mail, const struct imap_fetch_body_data *body,
                num = 0;
                while (*path != '\0' && *path != '.') {
                        if (*path < '0' || *path > '9')
-                               return NULL;
+                               return FALSE;
                        num = num*10 + (*path - '0');
                        path++;
                }