diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-09-15 21:28:25 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-09-15 21:28:25 +0000 |
commit | d2ddca583eee79c6884be96e14b1679863ff985c (patch) | |
tree | b98b63584d1219e890715751f680f8d32feecd02 /src | |
parent | 7615024f274f67864866c35ce1e3ebb4e448bd63 (diff) | |
download | tinyproxy-d2ddca583eee79c6884be96e14b1679863ff985c.tar.gz tinyproxy-d2ddca583eee79c6884be96e14b1679863ff985c.zip |
Removed the memory allocation log messages.
Diffstat (limited to 'src')
-rw-r--r-- | src/thread.c | 6 |
1 files changed, 2 insertions, 4 deletions
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; |