From 145c103705a19ca60ae54370085b605fc8a570d6 Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 5 Jan 2014 23:20:30 +0000 Subject: - hash.c:exceeding_sendq(): constification git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2758 82007160-df01-0410-b94d-b575c5fd34c7 --- src/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hash.c b/src/hash.c index 8425db5..359d498 100644 --- a/src/hash.c +++ b/src/hash.c @@ -692,7 +692,7 @@ delete_user_host(const char *user, const char *host, int global) * Sendq limit is fairly conservative at 1/2 (In original anyway) */ static int -exceeding_sendq(struct Client *to) +exceeding_sendq(const struct Client *to) { if (dbuf_length(&to->localClient->buf_sendq) > (get_sendq(&to->localClient->confs) / 2)) return 1; -- cgit