]> git.ozlabs.org Git - ppp.git/commit
pppd: Fix compile warning due to comparing pointer to NUL character
authorPaul Mackerras <paulus@ozlabs.org>
Sat, 23 Jun 2018 06:40:27 +0000 (16:40 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Sat, 23 Jun 2018 06:40:27 +0000 (16:40 +1000)
commit292c35d97edb6eca5f7af7aae31488cca2c2ca6f
tree8428f76a911af4c58e89c2bb4f8d268484585f7b
parent3b409a8e299446e3118743ff2508c54330011eeb
pppd: Fix compile warning due to comparing pointer to NUL character

Evidently this means to check for arg pointing to an empty string,
not arg being NULL, since the ensuing error talks about the variable
name being missing.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
pppd/options.c