summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-03-13 01:51:44 +0000
committerAndrew Tridgell <tridge@samba.org>2001-03-13 01:51:44 +0000
commitf869164a16db914f5b101cd82f54bf50b3076402 (patch)
treed2b550028ebeb2045075da0c4bdd9e3070db6658 /source3/smbd
parent0ef2179d23a2f9826e17c2b858fd8f2a9634b332 (diff)
downloadsamba-f869164a16db914f5b101cd82f54bf50b3076402.tar.gz
samba-f869164a16db914f5b101cd82f54bf50b3076402.tar.bz2
samba-f869164a16db914f5b101cd82f54bf50b3076402.zip
converted findnext to unicode
(This used to be commit 84fc5a7795fe6e3b993649ecc05f6685f8295c02)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 76bb7fd4cc..a16dcc3e19 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -920,7 +920,7 @@ static int call_trans2findnext(connection_struct *conn,
*mask = *directory = *resume_name = 0;
- pstrcpy( resume_name, params+12);
+ srvstr_pull(inbuf, resume_name, params+12, sizeof(resume_name), -1, STR_TERMINATE|STR_CONVERT);
DEBUG(3,("call_trans2findnext: dirhandle = %d, max_data_bytes = %d, maxentries = %d, \
close_after_request=%d, close_if_end = %d requires_resume_key = %d \