From d2ddca583eee79c6884be96e14b1679863ff985c Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Sat, 15 Sep 2001 21:28:25 +0000 Subject: Removed the memory allocation log messages. --- src/thread.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/thread.c b/src/thread.c index ea7f7eb..9d0423c 100644 --- a/src/thread.c +++ b/src/thread.c @@ -1,4 +1,4 @@ -/* $Id: thread.c,v 1.15 2001-09-11 19:27:09 rjkaes Exp $ +/* $Id: thread.c,v 1.16 2001-09-15 21:28:25 rjkaes Exp $ * * Handles the creation/destruction of the various threads required for * processing incoming connections. @@ -119,10 +119,8 @@ static void *thread_main(void *arg) ptr = (struct thread_s *)arg; cliaddr = safemalloc(addrlen); - if (!cliaddr) { - log_message(LOG_ERR, "Could not allocate memory in 'thread_main'."); + if (!cliaddr) return NULL; - } while (!config.quit) { clilen = addrlen; -- cgit v1.2.3