diff options
author | Lukas Mai <l.mai@web.de> | 2016-02-18 02:23:00 +0100 |
---|---|---|
committer | Lukas Mai <l.mai@web.de> | 2016-02-18 02:23:00 +0100 |
commit | c9ce0c521a559727493b42f422b5cc10ede2d9b2 (patch) | |
tree | 23fb5373d0f795488cf857b92dd0e68556d11363 /src/irc | |
parent | effb00b858db17b3abf27661682255bd8139a95a (diff) | |
download | irssi-c9ce0c521a559727493b42f422b5cc10ede2d9b2.zip |
make pointer check explicit
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/proxy/listen.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |