diff --git a/src/sbbs3/websrvr.c b/src/sbbs3/websrvr.c index 155843f522f922a3d2d68e527a3b1c2e773a0ec4..f202c2bb5718dbc915c673886a8dde325ca35ac5 100644 --- a/src/sbbs3/websrvr.c +++ b/src/sbbs3/websrvr.c @@ -4393,11 +4393,11 @@ void http_session_thread(void* arg) && host->h_aliases[i]!=NULL;i++) lprintf(LOG_INFO,"%04d HostAlias: %s", session.socket, host->h_aliases[i]); if(trashcan(&scfg,host_name,"host")) { + lprintf(LOG_NOTICE,"%04d !CLIENT BLOCKED in host.can: %s", session.socket, host_name); close_socket(&session.socket); sem_wait(&session.output_thread_terminated); sem_destroy(&session.output_thread_terminated); RingBufDispose(&session.outbuf); - lprintf(LOG_NOTICE,"%04d !CLIENT BLOCKED in host.can: %s", session.socket, host_name); thread_down(); session_threads--; return; @@ -4406,11 +4406,11 @@ void http_session_thread(void* arg) /* host_ip wasn't defined in http_session_thread */ if(trashcan(&scfg,session.host_ip,"ip")) { + lprintf(LOG_NOTICE,"%04d !CLIENT BLOCKED in ip.can: %s", session.socket, session.host_ip); close_socket(&session.socket); sem_wait(&session.output_thread_terminated); sem_destroy(&session.output_thread_terminated); RingBufDispose(&session.outbuf); - lprintf(LOG_NOTICE,"%04d !CLIENT BLOCKED in ip.can: %s", session.socket, session.host_ip); thread_down(); session_threads--; return;