X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fruserpass.c;h=0e169a5b15677d7417b1a6451a446e0d81bfccbd;hb=d3ba09a465cb0e5fc9a74d0b152a7ed965f895cb;hp=f88fcef5c125d762558fe0b0f9cdc74d0ed64f7c;hpb=b0b1dd37ff515578cf7cba51625189eb34a196cb;p=mmh diff --git a/sbr/ruserpass.c b/sbr/ruserpass.c index f88fcef..0e169a5 100644 --- a/sbr/ruserpass.c +++ b/sbr/ruserpass.c @@ -211,7 +211,7 @@ token(void) if (tokval[0] == 0) return (0); for (t = toktabs; t->tokstr; t++) - if (!strcmp(t->tokstr, tokval)) + if (strcmp(t->tokstr, tokval)==0) return (t->tval); return (ID); }