diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/util_smb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/util_smb.c b/source4/torture/util_smb.c index 6621b68b6e..de7303bac8 100644 --- a/source4/torture/util_smb.c +++ b/source4/torture/util_smb.c @@ -294,7 +294,7 @@ bool wire_bad_flags(struct smb_wire_string *str, int flags, if (flags & STR_TERMINATE) len++; server_unicode = (transport->negotiate.capabilities&CAP_UNICODE)?true:false; - if (getenv("CLI_FORCE_ASCII") || !lp_unicode(global_loadparm)) { + if (getenv("CLI_FORCE_ASCII") || !transport->options.unicode) { server_unicode = false; } |