summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 451d36b)
raw | patch | inline | side by side (parent: 451d36b)
author | Junio C Hamano <gitster@pobox.com> | |
Mon, 11 Feb 2008 20:04:00 +0000 (12:04 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 11 Feb 2008 21:14:25 +0000 (13:14 -0800) |
None of the configuration variables this expects is boolean.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
imap-send.c | patch | blob | history |
diff --git a/imap-send.c b/imap-send.c
index a429a76a6385bb7d7935cfaddec9cfc8508c77e5..9025d9aa3ef37b1a1ce4ae5d4b447e3b0918cb7e 100644 (file)
--- a/imap-send.c
+++ b/imap-send.c
if (strncmp( key, imap_key, sizeof imap_key - 1 ))
return 0;
+
+ if (!val)
+ return config_error_nonbool(key);
+
key += sizeof imap_key - 1;
if (!strcmp( "folder", key )) {