Whoops, that shouldn't have been there.

This commit is contained in:
Nicholas Marriott 2009-07-08 18:05:33 +00:00
parent 2ddcb51df3
commit 9cf68ac868

View File

@ -1,4 +1,4 @@
/* $Id: server-fn.c,v 1.67 2009-07-08 18:03:03 nicm Exp $ */ /* $Id: server-fn.c,v 1.68 2009-07-08 18:05:33 nicm Exp $ */
/* /*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -199,10 +199,10 @@ server_unlock(const char *s)
if (strcmp(out, server_password) != 0) if (strcmp(out, server_password) != 0)
goto wrong; goto wrong;
} }
for (i = 0; i < ARRAY_LENGTH(&clients); i++) { for (i = 0; i < ARRAY_LENGTH(&clients); i++) {
c = ARRAY_ITEM(&clients, i); c = ARRAY_ITEM(&clients, i);
if (c == NULL || c->prompt_buffer == NULL) if (c == NULL)
continue; continue;
status_prompt_clear(c); status_prompt_clear(c);