ftpd: Fix indents
This commit is contained in:
@@ -1319,10 +1319,10 @@ cmd_MKD:
|
||||
stosb
|
||||
loop .loop1
|
||||
.done:
|
||||
mov byte [edi], 0x00
|
||||
mov byte [edi], 0x00
|
||||
|
||||
call create_path
|
||||
dec edi
|
||||
dec edi
|
||||
|
||||
lea esi, [ebp + thread_data.buffer]
|
||||
.loop2:
|
||||
@@ -1332,7 +1332,7 @@ cmd_MKD:
|
||||
stosb
|
||||
loop .loop2
|
||||
.new_dir_ready:
|
||||
mov byte [edi], 0x00
|
||||
mov byte [edi], 0x00
|
||||
|
||||
lea ebx, [ebp + thread_data.fpath]
|
||||
invoke con_write_asciiz, ebx
|
||||
@@ -1347,16 +1347,16 @@ cmd_MKD:
|
||||
push dword 0
|
||||
push dword SSF_CREATE_FOLDER
|
||||
mov ebx, esp
|
||||
mcall SF_FILE
|
||||
mcall SF_FILE
|
||||
add esp, 6*4 + 1
|
||||
|
||||
test eax, eax
|
||||
jnz .error
|
||||
test eax, eax
|
||||
jnz .error
|
||||
|
||||
sendFTP "257 Directory created"
|
||||
ret
|
||||
.error:
|
||||
call console_fs_error
|
||||
call console_fs_error
|
||||
sendFTP "550 Create directory operation failed."
|
||||
ret
|
||||
;------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user