From c27ba615b3704febf1468df68f52a320e0e80035 Mon Sep 17 00:00:00 2001 From: james <> Date: Tue, 11 Mar 2008 17:56:04 +0000 Subject: *** empty log message *** --- apps/clients.c | 15 +++++++++------ apps/clients.h | 7 +++++-- apps/expand.c | 6 ++++-- apps/mainloop.c | 6 +++++- src/log.c | 7 +++++-- src/terminal.c | 4 ++++ 6 files changed, 32 insertions(+), 13 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,"",c,cs->n); + log_f (ctx->l, "", 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,"",c,cs->n); + log_f (ctx->l, "", 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); } diff --git a/apps/clients.h b/apps/clients.h index 5c8b419..d0bffd3 100644 --- a/apps/clients.h +++ b/apps/clients.h @@ -12,6 +12,9 @@ /* * $Log$ + * Revision 1.11 2008/03/11 17:56:04 james + * *** empty log message *** + * * Revision 1.10 2008/03/11 17:47:24 james * *** empty log message *** * @@ -63,12 +66,12 @@ typedef struct { /* clients.c */ extern void client_free (Client * c); extern Client *clients_new_client (Clients * cs, Socket * s, Context * ctx); -extern void clients_reap (Clients * cs,Context *ctx); +extern void clients_reap (Clients * cs, Context * ctx); extern Clients *clients_new (void); extern void clients_pre_select (Clients * cs, fd_set * rfds, fd_set * wfds); extern void clients_post_select (Clients * cs, Context * ctx, fd_set * rfds, fd_set * wfds); -extern void clients_shutdown (Clients * cs,Context *ctx); +extern void clients_shutdown (Clients * cs, Context * ctx); extern int send_output (Clients * cs, void *buf, int len); extern int send_status (Clients * cs, char *msg); diff --git a/apps/expand.c b/apps/expand.c index 8b26d32..ad73e70 100644 --- a/apps/expand.c +++ b/apps/expand.c @@ -6,11 +6,13 @@ * */ -static char rcsid[] = - "$Id$"; +static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.6 2008/03/11 17:56:04 james + * *** empty log message *** + * * Revision 1.5 2008/03/10 11:49:32 james * *** empty log message *** * diff --git a/apps/mainloop.c b/apps/mainloop.c index 4cc65a0..adaf49d 100644 --- a/apps/mainloop.c +++ b/apps/mainloop.c @@ -11,6 +11,9 @@ static char rcsid[] = /* * $Log$ + * Revision 1.31 2008/03/11 17:56:04 james + * *** empty log message *** + * * Revision 1.30 2008/03/11 17:47:24 james * *** empty log message *** * @@ -560,5 +563,6 @@ mainloop (Context * c, ANSI * ansi, Socket * server_socket, } if (clients) - clients_shutdown (clients,c); + clients_shutdown (clients, c); + log_f(c->l,""); } diff --git a/src/log.c b/src/log.c index b555f9b..92d1b77 100644 --- a/src/log.c +++ b/src/log.c @@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.14 2008/03/11 17:56:04 james + * *** empty log message *** + * * Revision 1.13 2008/03/11 16:56:29 james * *** empty log message *** * @@ -118,11 +121,11 @@ flog_sighup (Log * _l) if (!l->fp) return; - log_f(_l,""); + log_f (_l, ""); fclose (l->fp); l->fp = fopen (l->filename, "a+"); - log_f(_l,""); + log_f (_l, ""); } diff --git a/src/terminal.c b/src/terminal.c index e01a6f6..a078e4e 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -11,6 +11,9 @@ static char rcsid[] = /* * $Log$ + * Revision 1.21 2008/03/11 17:56:04 james + * *** empty log message *** + * * Revision 1.20 2008/03/10 11:49:33 james * *** empty log message *** * @@ -144,6 +147,7 @@ terminal_close (TTY * _t) // // // + // // to // bottom t->xmit (_t, buf, i); -- cgit v1.2.3