/programs/network/ftpc/console.inc |
---|
103,8 → 103,6 |
jnz @b |
; write to log file |
mov eax, [esp+36] |
cmp [logfile_offset], -1 |
je @f |
call write_to_file |
@@: |
/programs/network/ftpc/ftpc.asm |
---|
644,6 → 644,11 |
;;------------------------------------------------------------------------------------------------;; |
;< eax = status of SF 70.3 ;; |
;;================================================================================================;; |
cmp [logfile_offset], -1 ; if offset == -1 => logging disabled |
jne @f |
mov eax, 0 |
ret |
@@: |
mov [filestruct2.subfn], 3 |
m2m [filestruct2.offset], [logfile_offset] |
mov [filestruct2.size], ecx |
/programs/network/ftpc/ftpc.ini |
---|
2,7 → 2,7 |
; 0 = passive / 1 = active |
mode=0 |
dir=/tmp0/1/ |
logfile=/usbhd0/1/ftpc.log |
logfile=/tmp0/1/ftpc.log |
[active] |
; Local starting port for active connections |
port_start=2000 |
/programs/network/ftpc/gui.inc |
---|
332,8 → 332,7 |
stdcall [ted_draw], tedit0 |
; write to log file |
mov eax, [esp+36] |
cmp [logfile_offset], -1 ; disabled logging? |
je @f |
sub ecx, 2 ; 0a0d is not included |
call write_to_file |
@@: |