X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Foptions.c;h=5e1489f495779d9e58a481f5177ecda66c9166b5;hb=56371803b11c557e07ae968bef34b178b518139d;hp=482dce69e666467a5dc1feef08703b7a50802caf;hpb=3b409a8e299446e3118743ff2508c54330011eeb;p=ppp.git diff --git a/pppd/options.c b/pppd/options.c index 482dce6..5e1489f 100644 --- a/pppd/options.c +++ b/pppd/options.c @@ -79,7 +79,6 @@ char *strdup __P((char *)); #endif -static const char rcsid[] = RCSID; struct option_value { struct option_value *next; @@ -1753,7 +1752,7 @@ user_unsetenv(argv) option_error("unexpected = in name: %s", arg); return 0; } - if (arg == '\0') { + if (*arg == '\0') { option_error("missing variable name for unset"); return 0; }