/[anubis]/anubis/src/daemon.c
ViewVC logotype

Diff of /anubis/src/daemon.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by gray, Wed Feb 5 21:50:41 2003 UTC revision 1.4 by gray, Thu Feb 6 15:47:54 2003 UTC
# Line 105  service_unavailable(int sd_client) Line 105  service_unavailable(int sd_client)
105  {  {
106          char buf[LINEBUFFER+1];          char buf[LINEBUFFER+1];
107    
 #ifdef HAVE_SNPRINTF  
108          snprintf(buf, LINEBUFFER,          snprintf(buf, LINEBUFFER,
 #else  
         sprintf(buf,  
 #endif /* HAVE_SNPRINTF */  
109          "421 %s Service not available, closing transmission channel."CRLF,          "421 %s Service not available, closing transmission channel."CRLF,
110                  (topt & T_LOCAL_MTA) ? "localhost" : session.mta);                  (topt & T_LOCAL_MTA) ? "localhost" : session.mta);
111    
# Line 370  stdinout(void) Line 366  stdinout(void)
366          int sd_client = -1; /* stdin/stdout */          int sd_client = -1; /* stdin/stdout */
367          int sd_server = 0;          int sd_server = 0;
368    
         /*  
            Read the system configuration file (SUPERVISOR).  
         */  
   
         if (!(topt & T_NORC)) {  
                 open_rcfile(CF_SUPERVISOR);  
                 process_rcfile(CF_SUPERVISOR);  
         }  
   
369          anubis_getlogin(session.client, sizeof(session.client));          anubis_getlogin(session.client, sizeof(session.client));
370          auth_tunnel(); /* session.client = session.supervisor */          auth_tunnel(); /* session.client = session.supervisor */
371    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26