From f869164a16db914f5b101cd82f54bf50b3076402 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 13 Mar 2001 01:51:44 +0000 Subject: converted findnext to unicode (This used to be commit 84fc5a7795fe6e3b993649ecc05f6685f8295c02) --- source3/smbd/trans2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- cgit