Signed-off-by: Wang Tinggong <wangtinggong@gmail.com> --- src/main/event.c | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/src/main/event.c b/src/main/event.c index 069b785..3faa023 100644 --- a/src/main/event.c +++ b/src/main/event.c @@ -46,6 +46,9 @@ extern int check_config; extern void force_log_reopen(void); extern char *debug_condition; +extern void revive_home_server(void *ctx); +extern void mark_home_server_dead(home_server *home, struct timeval *when); + /* * Ridiculous amounts of local state. */ @@ -1108,6 +1111,14 @@ static void no_response_to_proxied_request(void *ctx) ping_home_server(home); } } +#else +void revive_home_server(void *ctx) +{ +} + +void mark_home_server_dead(home_server *home, struct timeval *when) +{ +} #endif static void wait_a_bit(void *ctx) @@ -1179,7 +1190,9 @@ static void wait_a_bit(void *ctx) break; } - stop_processing: + /* + * stop_processing + */ #if defined(HAVE_PTHREAD_H) || defined(WITH_PROXY) /* * A child thread MAY still be running on the -- 1.6.0.6