diff options
Diffstat (limited to 'apps/clients.c')
-rw-r--r-- | apps/clients.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/apps/clients.c b/apps/clients.c index 6175492..5971a67 100644 --- a/apps/clients.c +++ b/apps/clients.c @@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.24 2008/03/11 17:56:04 james + * *** empty log message *** + * * Revision 1.23 2008/03/11 17:47:24 james * *** empty log message *** * @@ -180,7 +183,7 @@ clients_new_client (Clients * cs, Socket * s, Context * ctx) fprintf (stderr, "Client at %p created\n", c); #endif - log_f(ctx->l,"<client %p connected - now %d clients>",c,cs->n); + log_f (ctx->l, "<client %p connected - now %d clients>", c, cs->n); if (ipc_msg_send_debug (s, "new_client")) c->dead++; @@ -189,7 +192,7 @@ clients_new_client (Clients * cs, Socket * s, Context * ctx) } void -clients_reap (Clients * cs,Context *ctx) +clients_reap (Clients * cs, Context * ctx) { Client **p, *c; @@ -201,7 +204,7 @@ clients_reap (Clients * cs,Context *ctx) *p = c->next; client_free (c); cs->n--; - log_f(ctx->l,"<client %p disconnected - now %d clients>",c,cs->n); + log_f (ctx->l, "<client %p disconnected - now %d clients>", c, cs->n); } else { p = &(c->next); } @@ -252,12 +255,12 @@ clients_post_select (Clients * cs, Context * ctx, fd_set * rfds, } if (deaded) - clients_reap (cs,ctx); + clients_reap (cs, ctx); } void -clients_shutdown (Clients * cs,Context *ctx) +clients_shutdown (Clients * cs, Context * ctx) { Client *c; @@ -266,7 +269,7 @@ clients_shutdown (Clients * cs,Context *ctx) } - clients_reap (cs,ctx); + clients_reap (cs, ctx); } |