From 9cf68ac86864397dd61599107a9d24532838552b Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 8 Jul 2009 18:05:33 +0000 Subject: [PATCH] Whoops, that shouldn't have been there. --- server-fn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server-fn.c b/server-fn.c index ad3154c8..31b62493 100644 --- a/server-fn.c +++ b/server-fn.c @@ -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 @@ -199,10 +199,10 @@ server_unlock(const char *s) if (strcmp(out, server_password) != 0) goto wrong; } - + for (i = 0; i < ARRAY_LENGTH(&clients); i++) { c = ARRAY_ITEM(&clients, i); - if (c == NULL || c->prompt_buffer == NULL) + if (c == NULL) continue; status_prompt_clear(c);