aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-10-28 23:12:38 +0000
committerTiago Cunha <tcunha@gmx.com>2009-10-28 23:12:38 +0000
commita5acabd9230eb70e802ece13542ec647c52b7ee2 (patch)
tree1b9cac80e3edf158c0a820cf027656f4c0f6ca06 /server.c
parente65aa04ad780b76c3356d281677bb7a71c89cda3 (diff)
downloadrtmux-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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/server.c b/server.c
index c1ed7312..4e6b7c8c 100644
--- a/server.c
+++ b/server.c
@@ -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;