mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
Fix fearful warning
This commit is contained in:
parent
c221349d3b
commit
cf54708af3
@ -1242,7 +1242,7 @@ static int accept_connection(rem_port* port,
|
|||||||
/* store FULL user identity in port_user_name for security purposes */
|
/* store FULL user identity in port_user_name for security purposes */
|
||||||
|
|
||||||
Firebird::string temp;
|
Firebird::string temp;
|
||||||
temp.printf("%s.%ld.%ld", name, eff_gid, eff_uid);
|
temp.printf("%s.%ld.%ld", name.c_str(), eff_gid, eff_uid);
|
||||||
port->port_user_name = REMOTE_make_string(temp.c_str());
|
port->port_user_name = REMOTE_make_string(temp.c_str());
|
||||||
|
|
||||||
port->port_protocol_str = REMOTE_make_string("TCPv4");
|
port->port_protocol_str = REMOTE_make_string("TCPv4");
|
||||||
|
Loading…
Reference in New Issue
Block a user