2007-04-05 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Thu, 5 Apr 2007 16:22:14 +0000 (16:22 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Thu, 5 Apr 2007 16:22:14 +0000 (16:22 +0000)
commit062bba8f756bcbfd9c78ac8fed17ceb1ed0d4230
tree9170386a8778d4c060413960413b028d36de43a4
parentdec7ff44f72e7205fc40cd0114d7799c1c1626b7
2007-04-05  Marcus Brinkmann  <marcus@g10code.de>

* src/ftp_session.c (do_retr, open_connection, send_readme):
Add dummy block between jump label and pthread_cleanup_pop() macro.

* oftpd.startup (ARGS): Add $OPTIONS.
* src/oftpd.h (debug_flags): Declare global variable.
(DEBUG_NONE, DEBUG_XFER, DEBUG_CMDS): New macros.
* src/oftpd.c (debug_flags): New global variable.
(main): Support new -d option.
* src/ftp_session.c (ftp_session_run): Only log if DEBUG_CMDS flag
is set.
(reply): Likewise.
(do_retr): Log xfer in WU-FTPD format.
ChangeLog
oftpd.startup
src/ftp_session.c
src/oftpd.c
src/oftpd.h