mirror of
https://github.com/samba-team/samba.git
synced 2025-12-18 08:23:51 +03:00
r26406: Make a copy to prevent modification of the loadparm configuration.
(This used to be commit c0f2775fd8)
This commit is contained in:
committed by
Stefan Metzmacher
parent
c64c571591
commit
fc88ba4a7e
@@ -123,7 +123,7 @@ struct composite_context *socket_connect_send(struct socket_context *sock,
|
||||
|
||||
set_blocking(socket_get_fd(sock), false);
|
||||
|
||||
if (resolve_ctx && server_address->addr && strcmp(sock->backend_name, "ipv4") == 0) {
|
||||
if (resolve_ctx != NULL && server_address->addr && strcmp(sock->backend_name, "ipv4") == 0) {
|
||||
struct nbt_name name;
|
||||
struct composite_context *creq;
|
||||
make_nbt_name_client(&name, server_address->addr);
|
||||
|
||||
Reference in New Issue
Block a user