diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-10-28 23:12:38 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-10-28 23:12:38 +0000 |
commit | a5acabd9230eb70e802ece13542ec647c52b7ee2 (patch) | |
tree | 1b9cac80e3edf158c0a820cf027656f4c0f6ca06 /server.c | |
parent | e65aa04ad780b76c3356d281677bb7a71c89cda3 (diff) | |
download | rtmux-a5acabd9230eb70e802ece13542ec647c52b7ee2.tar.gz rtmux-a5acabd9230eb70e802ece13542ec647c52b7ee2.tar.bz2 rtmux-a5acabd9230eb70e802ece13542ec647c52b7ee2.zip |
Sync OpenBSD patchset 467:
tabs are better; ok nicm
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: server.c,v 1.212 2009-10-28 23:11:07 tcunha Exp $ */ +/* $Id: server.c,v 1.213 2009-10-28 23:12:38 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -670,12 +670,12 @@ void server_lock_sessions(void) { struct session *s; - u_int i; + u_int i; int timeout; - time_t t; + time_t t; - t = time(NULL); - for (i = 0; i < ARRAY_LENGTH(&sessions); i++) { + t = time(NULL); + for (i = 0; i < ARRAY_LENGTH(&sessions); i++) { if ((s = ARRAY_ITEM(&sessions, i)) == NULL) continue; |