Permalink
Browse files

Don't compare the pointer, compare the value

  • Loading branch information...
dp111 authored and RMerl committed Feb 11, 2019
1 parent 3141317 commit 46e78474414de2573312f3870eff5122e53204e4
Showing with 1 addition and 1 deletion.
  1. +1 −1 release/src/router/pppd/pppd/options.c
@@ -1754,7 +1754,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;
}

0 comments on commit 46e7847

Please sign in to comment.