From 2b5eef3103a178bce6ab1e109f7b1e8e3f15ea66 Mon Sep 17 00:00:00 2001 From: asfernandes Date: Fri, 7 Apr 2006 02:55:34 +0000 Subject: [PATCH] Correction --- src/remote/server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/remote/server.cpp b/src/remote/server.cpp index f8ab4527df..0c6e3fd2b3 100644 --- a/src/remote/server.cpp +++ b/src/remote/server.cpp @@ -4391,7 +4391,7 @@ ISC_STATUS rem_port::send_response( PACKET* sendL, *v++ = *status_vector++; continue; } - const int l = p < bufferEnd ? fb_interpret(p, bufferEnd - p, &status_vector) : 0; + const int l = (p < bufferEnd) ? fb_interpret(p, bufferEnd - p, &status_vector) : 0; if (l == 0) break; @@ -5142,7 +5142,7 @@ static bool bad_port_context(ISC_STATUS* status_vector, return false; } status_vector[0] = isc_arg_gds; - status_vector[1] = isc_bad_svc_handle; + status_vector[1] = error; status_vector[2] = isc_arg_end; return true; }