projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add placeholders for the liblua
[apps/madmutt.git]
/
imap
/
util.c
diff --git
a/imap/util.c
b/imap/util.c
index
fb4c503
..
3f14b78
100644
(file)
--- a/
imap/util.c
+++ b/
imap/util.c
@@
-408,12
+408,12
@@
void imap_unmunge_mbox_name (char *s)
/* imap_wordcasecmp: find word a in word list b */
int imap_wordcasecmp (const char *a, const char *b)
{
/* imap_wordcasecmp: find word a in word list b */
int imap_wordcasecmp (const char *a, const char *b)
{
- char tmp[S
HORT_S
TRING];
+ char tmp[STRING];
char *s = (char *) b;
int i;
char *s = (char *) b;
int i;
- tmp[S
HORT_S
TRING - 1] = 0;
- for (i = 0; i < S
HORT_S
TRING - 2; i++, s++) {
+ tmp[STRING - 1] = 0;
+ for (i = 0; i < STRING - 2; i++, s++) {
if (!*s || ISSPACE (*s)) {
tmp[i] = 0;
break;
if (!*s || ISSPACE (*s)) {
tmp[i] = 0;
break;