From df50e3091e5eb19024cdef56e4938c0811ce51c8 Mon Sep 17 00:00:00 2001 From: dmiller Date: Tue, 11 Nov 2014 22:15:52 +0000 Subject: [PATCH] Fix a constant conditional --- FPEngine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FPEngine.cc b/FPEngine.cc index d22ff7038..bfa5d6809 100644 --- a/FPEngine.cc +++ b/FPEngine.cc @@ -603,7 +603,7 @@ void FPNetworkControl::response_reception_handler(nsock_pool nsp, nsock_event ns } else if (status == NSE_STATUS_EOF) { if (o.debugging) log_write(LOG_PLAIN, "response_reception_handler(): EOF\n"); - } else if (status == NSE_STATUS_ERROR || NSE_STATUS_PROXYERROR) { + } else if (status == NSE_STATUS_ERROR || status == NSE_STATUS_PROXYERROR) { if (o.debugging) log_write(LOG_PLAIN, "response_reception_handler(): %s failed: %s\n", nse_type2str(type), strerror(socket_errno())); } else if (status == NSE_STATUS_TIMEOUT) {