From c9ce0c521a559727493b42f422b5cc10ede2d9b2 Mon Sep 17 00:00:00 2001 From: Lukas Mai Date: Thu, 18 Feb 2016 02:23:00 +0100 Subject: make pointer check explicit --- src/irc/proxy/listen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irc/proxy') diff --git a/src/irc/proxy/listen.c b/src/irc/proxy/listen.c index 2322d47a..cd946baa 100644 --- a/src/irc/proxy/listen.c +++ b/src/irc/proxy/listen.c @@ -118,7 +118,7 @@ static void handle_client_connect_cmd(CLIENT_REC *client, char *tag; const char *tag_end; - if ((tag_end = strchr(args, ':'))) { + if ((tag_end = strchr(args, ':')) != NULL) { args_pass = tag_end + 1; } else { tag_end = args + strlen(args); -- cgit v1.2.3