accept: fix a log message to say the right thing

This commit is contained in:
Heikki Hannikainen 2012-10-11 22:43:00 +03:00
parent 22e4863692
commit 1022c3326c
1 changed files with 1 additions and 1 deletions

View File

@ -599,7 +599,7 @@ static void do_accept(struct listen_t *l)
c = client_alloc();
if (!c) {
hlog(LOG_ERR, "%s - client_alloc returned NULL, too many clients. Denied client on fd %d from %s (ACL)", l->addr_s, fd, s);
hlog(LOG_ERR, "%s - client_alloc returned NULL, too many clients. Denied client on fd %d from %s", l->addr_s, fd, s);
close(fd);
hfree(s);
inbound_connects_account(-1, l->portaccount); /* account rejected connection */