From 7c023ce1b142f331f8f664dfaf5a0e3be3f21f51 Mon Sep 17 00:00:00 2001 From: marschap Date: Thu, 4 Oct 2007 13:57:09 +0000 Subject: [PATCH] silence a warning --- server/commands/screen_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/commands/screen_commands.c b/server/commands/screen_commands.c index 7af400e..b5b177b 100644 --- a/server/commands/screen_commands.c +++ b/server/commands/screen_commands.c @@ -541,7 +541,7 @@ screen_del_key_func(Client *c, int argc, char **argv) char *to; to = from = s->keys; - while (*from != NULL) { + while (*from != '\0') { /* Is this key to be deleted from the list? */ if (strchr(keys, *from) == 0) { /* Yes, skip it */