mirror of
https://github.com/samba-team/samba.git
synced 2025-11-09 20:23:51 +03:00
r26429: Avoid use of global_smb_iconv_convenience.
This commit is contained in:
committed by
Stefan Metzmacher
parent
5a3a851dc7
commit
d37136b7ab
@@ -24,6 +24,7 @@
|
||||
#include "smb_server/service_smb_proto.h"
|
||||
#include "smb_server/smb2/smb2_server.h"
|
||||
#include "ntvfs/ntvfs.h"
|
||||
#include "param/param.h"
|
||||
|
||||
static void smb2srv_create_send(struct ntvfs_request *ntvfs)
|
||||
{
|
||||
@@ -352,7 +353,7 @@ static void smb2srv_notify_send(struct ntvfs_request *ntvfs)
|
||||
ssize_t len;
|
||||
|
||||
SIVAL(p, 4, io->smb2.out.changes[i].action);
|
||||
len = push_string(global_smb_iconv_convenience, p + 12, io->smb2.out.changes[i].name.s,
|
||||
len = push_string(lp_iconv_convenience(global_loadparm), p + 12, io->smb2.out.changes[i].name.s,
|
||||
blob.length - (p+12 - blob.data), STR_UNICODE);
|
||||
SIVAL(p, 8, len);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user