8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 05:23:03 +01:00

Fixed few small glitches

This commit is contained in:
hvlad 2009-02-01 21:53:58 +00:00
parent f2af34773e
commit cc26c104f4

View File

@ -1351,7 +1351,7 @@ ISC_STATUS Service::query2(thread_db* tdbb,
} }
if (info < end) if (info < end)
*info = isc_info_end; *info++ = isc_info_end;
if (start_info && (end - info >= 7)) if (start_info && (end - info >= 7))
{ {
@ -1814,7 +1814,7 @@ void Service::start(USHORT spb_length, const UCHAR* spb_data)
if (svc_trusted_role) if (svc_trusted_role)
{ {
auth += "-"; auth += "-";
svc_switches += TRUSTED_ROLE_SWITCH; auth += TRUSTED_ROLE_SWITCH;
auth += ' '; auth += ' ';
} }
svc_switches = auth + svc_switches; svc_switches = auth + svc_switches;
@ -2059,7 +2059,7 @@ void Service::get(SCHAR* buffer, USHORT length, USHORT flags, USHORT timeout, US
if ((timeout) && (elapsed_time >= timeout)) if ((timeout) && (elapsed_time >= timeout))
{ {
MutexLockGuard guard(svc_mutex); MutexLockGuard guard(svc_mutex);
svc_flags &= SVC_timeout; svc_flags |= SVC_timeout;
break; break;
} }