[BACK]Return to session.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/session.c between version 1.154 and 1.155

version 1.154, 2003/03/05 22:33:43 version 1.155, 2003/04/08 20:21:29
Line 398 
Line 398 
                          * Any unknown messages in this phase are ignored,                           * Any unknown messages in this phase are ignored,
                          * and a failure message is returned.                           * and a failure message is returned.
                          */                           */
                         log("Unknown packet type received after authentication: %d", type);                          logit("Unknown packet type received after authentication: %d", type);
                 }                  }
                 packet_start(success ? SSH_SMSG_SUCCESS : SSH_SMSG_FAILURE);                  packet_start(success ? SSH_SMSG_SUCCESS : SSH_SMSG_FAILURE);
                 packet_send();                  packet_send();
Line 1009 
Line 1009 
 #endif  #endif
         if (f) {          if (f) {
                 /* /etc/nologin exists.  Print its contents and exit. */                  /* /etc/nologin exists.  Print its contents and exit. */
                 log("User %.100s not allowed because %s exists",                  logit("User %.100s not allowed because %s exists",
                     pw->pw_name, _PATH_NOLOGIN);                      pw->pw_name, _PATH_NOLOGIN);
                 while (fgets(buf, sizeof(buf), f))                  while (fgets(buf, sizeof(buf), f))
                         fputs(buf, stderr);                          fputs(buf, stderr);
Line 1438 
Line 1438 
         int i;          int i;
   
         packet_check_eom();          packet_check_eom();
         log("subsystem request for %.100s", subsys);          logit("subsystem request for %.100s", subsys);
   
         for (i = 0; i < options.num_subsystems; i++) {          for (i = 0; i < options.num_subsystems; i++) {
                 if (strcmp(subsys, options.subsystem_name[i]) == 0) {                  if (strcmp(subsys, options.subsystem_name[i]) == 0) {
Line 1457 
Line 1457 
         }          }
   
         if (!success)          if (!success)
                 log("subsystem request for %.100s failed, subsystem not found",                  logit("subsystem request for %.100s failed, subsystem not found",
                     subsys);                      subsys);
   
         xfree(subsys);          xfree(subsys);
Line 1528 
Line 1528 
         Session *s;          Session *s;
   
         if ((s = session_by_channel(c->self)) == NULL) {          if ((s = session_by_channel(c->self)) == NULL) {
                 log("session_input_channel_req: no session %d req %.100s",                  logit("session_input_channel_req: no session %d req %.100s",
                     c->self, rtype);                      c->self, rtype);
                 return 0;                  return 0;
         }          }

Legend:
Removed from v.1.154  
changed lines
  Added in v.1.155