From 9dca0fa2b7a61e6f29cf05b5b8e05b586e670c07 Mon Sep 17 00:00:00 2001 From: dimitr Date: Mon, 2 Mar 2009 09:34:37 +0000 Subject: [PATCH] Correction related to my last commit. --- src/remote/server.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/remote/server.cpp b/src/remote/server.cpp index 8ad1bd5057..455d6db586 100644 --- a/src/remote/server.cpp +++ b/src/remote/server.cpp @@ -3331,9 +3331,6 @@ static bool process_packet(rem_port* port, PACKET* sendL, PACKET* receive, rem_p port = NULL; } - if (result) - *result = port; - } // try catch (const Firebird::status_exception& ex) { @@ -3362,6 +3359,11 @@ static bool process_packet(rem_port* port, PACKET* sendL, PACKET* receive, rem_p return false; } + if (result) + { + *result = port; + } + return true; }