diff options
Diffstat (limited to 'source4/smb_server/blob.c')
-rw-r--r-- | source4/smb_server/blob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/smb_server/blob.c b/source4/smb_server/blob.c index 3683991526..237ebd4d7e 100644 --- a/source4/smb_server/blob.c +++ b/source4/smb_server/blob.c @@ -138,10 +138,10 @@ size_t smbsrv_blob_push_string(TALLOC_CTX *mem_ctx, alignment = 1; if (dest_len > 0) { SCVAL(blob->data + offset, 0, 0); - ret = push_string(blob->data + offset + 1, str, dest_len-1, flags); + ret = push_string(global_smb_iconv_convenience, blob->data + offset + 1, str, dest_len-1, flags); } } else { - ret = push_string(blob->data + offset, str, dest_len, flags); + ret = push_string(global_smb_iconv_convenience, blob->data + offset, str, dest_len, flags); } /* sometimes the string needs to be terminated, but the length |