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

Diff of /anubis/src/auth.c

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

revision 1.2 by gray, Sat Feb 1 17:06:48 2003 UTC revision 1.3 by gray, Wed Feb 5 21:50:41 2003 UTC
# Line 29  void Line 29  void
29  auth_tunnel(void)  auth_tunnel(void)
30  {  {
31          info(NORMAL, _("Welcome user %s !"), session.client);          info(NORMAL, _("Welcome user %s !"), session.client);
32          open_rcfile(CLIENT);          open_rcfile(CF_CLIENT);
33          read_rcfile(CLIENT);          process_rcfile(CF_CLIENT);
         read_rcfile_allsection();  
 #ifdef WITH_GUILE  
         read_rcfile_guile();  
 #endif  
         rule_position = get_position(BEGIN_RULE);  
         if (rule_position)  
                 info(DEBUG, _("The %s section has been found. Processing..."), "RULE");  
34          return;          return;
35  }  }
36    
# Line 54  auth_ident(struct sockaddr_in *addr, cha Line 47  auth_ident(struct sockaddr_in *addr, cha
47          int sd = 0;          int sd = 0;
48    
49          if ((sd = socket(AF_INET, SOCK_STREAM, 0)) < 0) {          if ((sd = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
50                  anubis_error(SOFT, _("IDENT: socket() failed: %s."), strerror(errno));                  anubis_error(SOFT, _("IDENT: socket() failed: %s."),
51                                 strerror(errno));
52                  return 0;                  return 0;
53          }          }
54          memcpy(&ident, addr, sizeof(ident));          memcpy(&ident, addr, sizeof(ident));

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

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