X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fruserpass.c;h=0e169a5b15677d7417b1a6451a446e0d81bfccbd;hp=f88fcef5c125d762558fe0b0f9cdc74d0ed64f7c;hb=c164fa6824a65205d96c9d1450dc656bec66553a;hpb=714b5c530ece27ea2835a313013f5b770163403c 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); }