mirror of
https://github.com/samba-team/samba.git
synced 2025-11-08 16:23:49 +03:00
r25430: Add the loadparm context to all parametric options.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
b945aaa9da
commit
fd697d77c9
@@ -70,7 +70,7 @@ _PUBLIC_ NTSTATUS socket_create_with_ops(TALLOC_CTX *mem_ctx, const struct socke
|
||||
|
||||
if (!(flags & SOCKET_FLAG_BLOCK) &&
|
||||
type == SOCKET_TYPE_STREAM &&
|
||||
lp_parm_bool(NULL, "socket", "testnonblock", false)) {
|
||||
lp_parm_bool(global_loadparm, NULL, "socket", "testnonblock", false)) {
|
||||
(*new_sock)->flags |= SOCKET_FLAG_TESTNONBLOCK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user