projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52d375c
)
Removed IsEmptyStr from some loops as its quicker this way (probably).
author
Dave West
<davew@uncensored.citadel.org>
Thu, 23 Aug 2007 09:54:26 +0000
(09:54 +0000)
committer
Dave West
<davew@uncensored.citadel.org>
Thu, 23 Aug 2007 09:54:26 +0000
(09:54 +0000)
citadel/modules/imap/imap_tools.c
patch
|
blob
|
history
diff --git
a/citadel/modules/imap/imap_tools.c
b/citadel/modules/imap/imap_tools.c
index b73bb8b8e47bea5490b6f5908c12c9b3ac957bc9..080f9db7c0da74855888c081c1a321708207d763 100644
(file)
--- a/
citadel/modules/imap/imap_tools.c
+++ b/
citadel/modules/imap/imap_tools.c
@@
-632,7
+632,7
@@
int imap_is_message_set(char *buf)
if (!strcasecmp(buf, "ALL"))
return (1); /* macro? why? */
- for (i = 0;
!IsEmptyStr(&buf[i]); ++i) {
/* now start the scan */
+ for (i = 0;
buf[i]; ++i) {
/* now start the scan */
if (
(!isdigit(buf[i]))
&& (buf[i] != ':')