1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-15 04:28:09 -04: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; char *tag;
const char *tag_end; const char *tag_end;
if ((tag_end = strchr(args, ':'))) { if ((tag_end = strchr(args, ':')) != NULL) {
args_pass = tag_end + 1; args_pass = tag_end + 1;
} else { } else {
tag_end = args + strlen(args); tag_end = args + strlen(args);