]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/options.c
pppd: Fix `ifname` option in case of multilink (#105)
[ppp.git] / pppd / options.c
index 482dce69e666467a5dc1feef08703b7a50802caf..5e1489f495779d9e58a481f5177ecda66c9166b5 100644 (file)
@@ -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;
     }