dovecot: Minor cleanups

dovecot at dovecot.org dovecot at dovecot.org
Fri Jan 4 00:02:10 EET 2008


details:   http://hg.dovecot.org/dovecot/rev/75f4e7ce8151
changeset: 7102:75f4e7ce8151
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jan 04 00:02:06 2008 +0200
description:
Minor cleanups

diffstat:

2 files changed, 4 insertions(+), 6 deletions(-)
src/imap-login/client.c |    5 ++---
src/pop3-login/client.c |    5 ++---

diffs (44 lines):

diff -r 09556a64b4e5 -r 75f4e7ce8151 src/imap-login/client.c
--- 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,
diff -r 09556a64b4e5 -r 75f4e7ce8151 src/pop3-login/client.c
--- 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


More information about the dovecot-cvs mailing list