changeset 7102:75f4e7ce8151 HEAD

Minor cleanups
author Timo Sirainen <tss@iki.fi>
date Fri, 04 Jan 2008 00:02:06 +0200
parents 09556a64b4e5
children 284dd5f2777d
files src/imap-login/client.c src/pop3-login/client.c
diffstat 2 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap-login/client.c	Fri Jan 04 00:01:02 2008 +0200
+++ b/src/imap-login/client.c	Fri Jan 04 00:02:06 2008 +0200
@@ -2,7 +2,6 @@
 
 #include "common.h"
 #include "buffer.h"
-#include "hash.h"
 #include "ioloop.h"
 #include "istream.h"
 #include "ostream.h"
@@ -35,8 +34,8 @@
 #define CLIENT_MAX_BAD_COMMANDS 10
 
 /* When max. number of simultaneous connections is reached, few of the
-   oldest connections are disconnected. Since we have to go through the whole
-   client hash, it's faster if we disconnect multiple clients. */
+   oldest connections are disconnected. Since we have to go through all of the
+   clients, it's faster if we disconnect multiple clients. */
 #define CLIENT_DESTROY_OLDEST_COUNT 16
 
 /* If we've been waiting auth server to respond for over this many milliseconds,
--- a/src/pop3-login/client.c	Fri Jan 04 00:01:02 2008 +0200
+++ b/src/pop3-login/client.c	Fri Jan 04 00:02:06 2008 +0200
@@ -3,7 +3,6 @@
 #include "common.h"
 #include "base64.h"
 #include "buffer.h"
-#include "hash.h"
 #include "ioloop.h"
 #include "istream.h"
 #include "ostream.h"
@@ -33,8 +32,8 @@
 #define CLIENT_MAX_BAD_COMMANDS 10
 
 /* When max. number of simultaneous connections is reached, few of the
-   oldest connections are disconnected. Since we have to go through the whole
-   client hash, it's faster if we disconnect multiple clients. */
+   oldest connections are disconnected. Since we have to go through all of the
+   clients, it's faster if we disconnect multiple clients. */
 #define CLIENT_DESTROY_OLDEST_COUNT 16
 
 #if CLIENT_LOGIN_IDLE_TIMEOUT_MSECS >= AUTH_REQUEST_TIMEOUT*1000