diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index 182f8610..b2a37e2d 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -260,7 +260,7 @@ kick_all(char *user) { userinfo_t *ui; int num = searchuser(user, NULL), i=1; - while((ui = (userinfo_t *) search_ulistn(num, i))>0) + while((ui = (userinfo_t *) search_ulistn(num, i)) != NULL) { if(ui == currutmp) i++; if ((ui->pid <= 0 || kill(ui->pid, SIGHUP) == -1)) @@ -400,7 +400,7 @@ void Customize(void) /* extended stuff */ { char mindbuf[5]; - const static char *wm[] = + static const char *wm[] = {"¤@¯ë", "¶i¶¥", "¥¼¨Ó", ""}; prints("%c. %-40s%s\n", |