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