summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2005-06-12 16:28:55 +0000
committerAlexander Barton <alex@barton.de>2005-06-12 16:28:55 +0000
commit5195555c5a5d71d5c96b5d543eacb2d1150a68fd (patch)
tree8137bcad31700ff8e0fc451ace77a96de10412b0
parenta4660f40db66b2ff5445aa72ae4978d4aa9d28e5 (diff)
downloadngircd-5195555c5a5d71d5c96b5d543eacb2d1150a68fd.tar.gz
ngircd-5195555c5a5d71d5c96b5d543eacb2d1150a68fd.zip
Removed CONNECTION[].starttime, now saved in CLIENT structure.
-rw-r--r--src/ngircd/conn.c3
-rw-r--r--src/ngircd/conn.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index 49cd211c..3d0bce07 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -16,7 +16,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: conn.c,v 1.152 2005/06/04 11:49:20 fw Exp $";
+static char UNUSED id[] = "$Id: conn.c,v 1.153 2005/06/12 16:28:55 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -1474,7 +1474,6 @@ Init_Conn_Struct( CONN_ID Idx )
 
 	memset( &My_Connections[Idx], 0, sizeof ( CONNECTION ));
 	My_Connections[Idx].sock = NONE;
-	My_Connections[Idx].starttime = now;
 	My_Connections[Idx].lastdata = now;
 	My_Connections[Idx].lastprivmsg = now;
 } /* Init_Conn_Struct */
diff --git a/src/ngircd/conn.h b/src/ngircd/conn.h
index bce42371..e1f34f9f 100644
--- a/src/ngircd/conn.h
+++ b/src/ngircd/conn.h
@@ -8,7 +8,7 @@
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: conn.h,v 1.34 2005/04/18 21:08:31 fw Exp $
+ * $Id: conn.h,v 1.35 2005/06/12 16:28:55 alex Exp $
  *
  * Connection management (header)
  */
@@ -61,7 +61,6 @@ typedef struct _Connection
 	int rdatalen;			/* Length of data in read buffer */
 	char wbuf[WRITEBUFFER_LEN];	/* Write buffer */
 	int wdatalen;			/* Length of data in write buffer */
-	time_t starttime;		/* Start time of link */
 	time_t lastdata;		/* Last activity */
 	time_t lastping;		/* Last PING */
 	time_t lastprivmsg;		/* Last PRIVMSG */