]> diplodocus.org Git - nmh/blobdiff - sbr/ruserpass.c
Fix invalid pointer arithmetic.
[nmh] / sbr / ruserpass.c
index 1e43571e40663a784aac3b62db1b46b722e1ca75..5c47aa114a733872bf013af3b38d9b5087918db9 100644 (file)
@@ -218,7 +218,7 @@ token(char *tokval)
 
     for (t = toktabs; t->tokstr; t++)
        if (!strcmp(t->tokstr, tokval))
-           return (t->tval);
+           return t->tval;
 
-    return (ID);
+    return ID;
 }