1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-23 06:35:36 +00:00

make pointer check explicit

This commit is contained in:
Lukas Mai 2016-02-18 02:23:00 +01:00
parent effb00b858
commit c9ce0c521a

View File

@ -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);