Ignore:
Timestamp:
31/05/06 12:57:18 (14 years ago)
Author:
spascoe
Message:

Slight modifications to bbftpd module and a new test case for testing
the embedded server.

Location:
TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd.c

    r1067 r1070  
    10851085                state = S_PROTWAIT ; 
    10861086                sprintf(logmessage,"bbftpd version %s : OK",VERSION) ; 
    1087                 syslog(BBFTPD_DEBUG, "Lets send the auth reply ..."); 
    10881087                reply(MSG_OK,logmessage) ; 
    10891088            } else { 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_daemon.c

    r1065 r1070  
    139139#ifdef NDG_PYTHON_EMBED 
    140140    /* Return the daemon's PID */ 
    141     if (retcode > 0) return retcode; 
     141    if (retcode > 0) { 
     142      close(controlsock); 
     143      return retcode; 
     144    } 
    142145#else 
    143146    /* No need for the parent any more */ 
Note: See TracChangeset for help on using the changeset viewer.