dovecot-2.0: str_to_*(): Fixed them to actually work.
dovecot at dovecot.org
dovecot at dovecot.org
Wed Apr 7 02:43:57 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/6973977bf626
changeset: 11090:6973977bf626
user: Timo Sirainen <tss at iki.fi>
date: Wed Apr 07 02:43:55 2010 +0300
description:
str_to_*(): Fixed them to actually work.
diffstat:
src/lib/strnum.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r ad6b245cf3b5 -r 6973977bf626 src/lib/strnum.c
--- a/src/lib/strnum.c Wed Apr 07 02:08:28 2010 +0300
+++ b/src/lib/strnum.c Wed Apr 07 02:43:55 2010 +0300
@@ -97,7 +97,7 @@
}
n = next + (*str - '0');
}
- if (str != '\0')
+ if (*str != '\0')
return -1;
*num_r = n;
return 0;
More information about the dovecot-cvs
mailing list