8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-26 07:23:08 +01:00

Corrections (Thanks to Claudio)

This commit is contained in:
brodsom 2003-09-13 09:15:06 +00:00
parent 60fc035369
commit fa09e72d4e
2 changed files with 6 additions and 4 deletions

View File

@ -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;

View File

@ -2102,7 +2102,7 @@ ISC_STATUS port::fetch(P_SQLDATA * sqldata, PACKET* send)
statement->rsr_msgs_waiting++;
}
return true;
return TRUE;
}