Skip to content

Commit adf4102

Browse files
author
Kain
committed
rename fix
1 parent 1ef10ad commit adf4102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/smb_file.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,8 @@ int smb_file_mv(smb_session *s, smb_tid tid, const char *old_path, const c
389389
SMB_MSG_PUT_PKT(req_msg, req);
390390
smb_message_put8(req_msg, 0x04); // Buffer format 1, must be 4
391391
smb_message_append(req_msg, utf_old_path, utf_old_len);
392-
smb_message_put8(req_msg, 0x00); // padding to have next byte 16 bits aligned
393392
smb_message_put8(req_msg, 0x04); // Buffer format 2, must be 4
393+
smb_message_put8(req_msg, 0x00); // padding to have next byte 16 bits aligned
394394
smb_message_append(req_msg, utf_new_path, utf_new_len);
395395

396396
smb_session_send_msg(s, req_msg);

0 commit comments

Comments
 (0)