From: Timo Sirainen Date: Tue, 6 Apr 2010 23:43:55 +0000 (+0300) Subject: str_to_*(): Fixed them to actually work. X-Git-Tag: 2.0.beta5~184 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba54c370c4c1fee3d59a90cd4986bb7859a62c52;p=thirdparty%2Fdovecot%2Fcore.git str_to_*(): Fixed them to actually work. --HG-- branch : HEAD --- diff --git a/src/lib/strnum.c b/src/lib/strnum.c index e50316deb6..b9d32d24ad 100644 --- a/src/lib/strnum.c +++ b/src/lib/strnum.c @@ -97,7 +97,7 @@ int str_to_uintmax(const char *str, uintmax_t *num_r) } n = next + (*str - '0'); } - if (str != '\0') + if (*str != '\0') return -1; *num_r = n; return 0;