From 1e230488bfe37091acd5b333f428734d193fe529 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sat, 8 Oct 2011 17:30:21 +0000 Subject: [PATCH] In chat(), properly report missing server responses as such instead of calling them empty --- jcc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jcc.c b/jcc.c index e3306ec2..a3f14287 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.364 2011/08/27 10:36:45 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.365 2011/09/04 11:10:56 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -2258,7 +2258,7 @@ static void chat(struct client_state *csp) if ((csp->flags & CSP_FLAG_REUSED_CLIENT_CONNECTION)) { log_error(LOG_LEVEL_ERROR, - "Empty server or forwarder response received on socket %d. " + "No server or forwarder response received on socket %d. " "Closing client socket %d without sending data.", csp->server_connection.sfd, csp->cfd); log_error(LOG_LEVEL_CLF, @@ -2267,7 +2267,7 @@ static void chat(struct client_state *csp) else { log_error(LOG_LEVEL_ERROR, - "Empty server or forwarder response received on socket %d.", + "No server or forwarder response received on socket %d.", csp->server_connection.sfd); send_crunch_response(csp, error_response(csp, "no-server-data")); } -- 2.39.2