diff options
Diffstat (limited to 'networking/udhcp/common.c')
-rw-r--r-- | networking/udhcp/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c index 4a452cdb9..9ec752dfc 100644 --- a/networking/udhcp/common.c +++ b/networking/udhcp/common.c | |||
@@ -539,7 +539,7 @@ int FAST_FUNC udhcp_str2optset(const char *const_str, void *arg, | |||
539 | 539 | ||
540 | if (optflag->flags == OPTION_BIN) { | 540 | if (optflag->flags == OPTION_BIN) { |
541 | val = strtok(NULL, ""); /* do not split "'q w e'" */ | 541 | val = strtok(NULL, ""); /* do not split "'q w e'" */ |
542 | trim(val); | 542 | if (val) trim(val); |
543 | } else | 543 | } else |
544 | val = strtok(NULL, ", \t"); | 544 | val = strtok(NULL, ", \t"); |
545 | if (!val) | 545 | if (!val) |