mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
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…
Reference in New Issue
Block a user