dovecot-2.0: IMAP FETCH: Previous change broke fetching RFC822*.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Jun 1 21:37:34 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/36311318a958
changeset: 9428:36311318a958
user: Timo Sirainen <tss at iki.fi>
date: Mon Jun 01 14:37:18 2009 -0400
description:
IMAP FETCH: Previous change broke fetching RFC822*.
diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
src/imap/imap-fetch.c | 3 ++-
diffs (20 lines):
diff -r befc876577e4 -r 36311318a958 src/imap/imap-fetch.c
--- a/src/imap/imap-fetch.c Mon Jun 01 14:30:05 2009 -0400
+++ b/src/imap/imap-fetch.c Mon Jun 01 14:37:18 2009 -0400
@@ -16,6 +16,7 @@
#include "imap-util.h"
#include <stdlib.h>
+#include <ctype.h>
#define BODY_NIL_REPLY \
"\"text\" \"plain\" NIL NIL NIL \"7bit\" 0 0"
@@ -59,7 +60,7 @@ bool imap_fetch_init_handler(struct imap
const char *lookup_name, *p;
unsigned int count;
- for (p = name; *p >= 'A' && *p <= 'Z'; p++) ;
+ for (p = name; i_isalnum(*p); p++) ;
lookup_name = t_strdup_until(name, p);
handlers = array_get_modifiable(&fetch_handlers, &count);
More information about the dovecot-cvs
mailing list