]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix minor typo
authorAlan T. DeKok <aland@freeradius.org>
Thu, 9 Dec 2010 10:09:44 +0000 (11:09 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 9 Dec 2010 10:09:44 +0000 (11:09 +0100)
Closes bug #124

src/lib/token.c

index e161f78379b7471dbef548a97a42233cbd03df2c..5cdc692157187cec7f89b29b5d9317bd33d0b2ba 100644 (file)
@@ -240,7 +240,7 @@ FR_TOKEN getstring(const char **ptr, char *buf, int buflen)
 {
        const char *p = *ptr;
 
-       while (p && (isspace((int)*p))) p++;
+       while (*p && (isspace((int)*p))) p++;
 
        *ptr = p;