diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-08 18:05:33 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-08 18:05:33 +0000 |
commit | 9cf68ac86864397dd61599107a9d24532838552b (patch) | |
tree | 57b1326e9c49880a991d8b83788965716dd41a60 | |
parent | 2ddcb51df3316d55aa1859f357998be7808aa1a4 (diff) | |
download | rtmux-9cf68ac86864397dd61599107a9d24532838552b.tar.gz rtmux-9cf68ac86864397dd61599107a9d24532838552b.tar.bz2 rtmux-9cf68ac86864397dd61599107a9d24532838552b.zip |
Whoops, that shouldn't have been there.
-rw-r--r-- | server-fn.c | 6 |
1 files 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 <nicm@users.sourceforge.net> @@ -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); |