forked from PsychoticNinja/irssi
make pointer check explicit
This commit is contained in:
parent
effb00b858
commit
c9ce0c521a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user