diff --git a/src/remote/inet.cpp b/src/remote/inet.cpp index 75f155809d..4a6c57b7ab 100644 --- a/src/remote/inet.cpp +++ b/src/remote/inet.cpp @@ -41,7 +41,7 @@ * */ /* -$Id: inet.cpp,v 1.74 2003-09-11 18:59:34 brodsom Exp $ +$Id: inet.cpp,v 1.75 2003-09-13 09:15:06 brodsom Exp $ */ #include "firebird.h" #include "../jrd/ib_stdio.h" @@ -1773,7 +1773,8 @@ static int check_host(PORT port, return FALSE; gethosts(hosts_file); - if (parse_hosts(hosts_file, host_name, user_name) == -1) + result = parse_hosts(hosts_file, host_name, user_name); + if (result == -1) result = FALSE; return result; @@ -1836,7 +1837,8 @@ static int check_host( if (fp) ib_fclose(fp); - if (parse_hosts(hosts_file, host_name, user) == -1) + result = parse_hosts(hosts_file, host_name, user); + if (result == -1) result = FALSE; } return result; diff --git a/src/remote/server.cpp b/src/remote/server.cpp index b1c5b9e700..d99a5eb416 100644 --- a/src/remote/server.cpp +++ b/src/remote/server.cpp @@ -2102,7 +2102,7 @@ ISC_STATUS port::fetch(P_SQLDATA * sqldata, PACKET* send) statement->rsr_msgs_waiting++; } - return true; + return TRUE; }