mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 08:32:07 +02:00
make pointer check explicit
This commit is contained in:
parent
effb00b858
commit
c9ce0c521a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue