From 5dbf570b7df0e7c9770432884f95c14b193b5b30 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 24 Mar 2009 18:38:11 +0300 Subject: * Fix many compile time warnings and polish code --- src/worker.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/worker.c') diff --git a/src/worker.c b/src/worker.c index 457395a97..4d6c2bacc 100644 --- a/src/worker.c +++ b/src/worker.c @@ -169,6 +169,9 @@ read_socket (f_str_t *in, void *arg) write_socket (task); } break; + default: + msg_debug ("read_socket: invalid state on reading stage"); + break; } } -- cgit v1.2.3