From 1bec1b980e3cf5ad604fb0c2038a3ab83d9ab5f5 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 6 Nov 2007 02:23:39 +0000 Subject: telnet: use poll, it's shorter *: style fixes --- networking/udhcp/files.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'networking/udhcp') diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c index 8ed4855..59a5e4a 100644 --- a/networking/udhcp/files.c +++ b/networking/udhcp/files.c @@ -343,8 +343,10 @@ int read_config(const char *file) p = strchr(buffer, '#'); if (p) *p = '\0'; - if (!(token = strtok(buffer, " \t"))) continue; - if (!(line = strtok(NULL, ""))) continue; + token = strtok(buffer, " \t"); + if (!token) continue; + line = strtok(NULL, ""); + if (!line) continue; /* eat leading whitespace */ line = skip_whitespace(line); -- cgit v1.1