[BACK]Return to ftpd.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / libexec / ftpd

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/libexec/ftpd/ftpd.c between version 1.151 and 1.152

version 1.151, 2003/02/19 18:26:48 version 1.152, 2003/02/23 13:04:37
Line 948  login_utmp(const char *line, const char 
Line 948  login_utmp(const char *line, const char 
                 (void)strncpy(utmp.ut_name, name, sizeof(utmp.ut_name));                  (void)strncpy(utmp.ut_name, name, sizeof(utmp.ut_name));
                 (void)strncpy(utmp.ut_line, line, sizeof(utmp.ut_line));                  (void)strncpy(utmp.ut_line, line, sizeof(utmp.ut_line));
                 (void)strncpy(utmp.ut_host, host, sizeof(utmp.ut_host));                  (void)strncpy(utmp.ut_host, host, sizeof(utmp.ut_host));
                 login(&utmp);                  ftpd_login(&utmp);
         }          }
         if (dowtmp)          if (dowtmp)
                 logwtmp(line, name, host);                  ftpd_logwtmp(line, name, host);
 #endif  #endif
 }  }
   
Line 965  logout_utmp(void)
Line 965  logout_utmp(void)
                         okwtmp = logoutx(ttyline, 0, DEAD_PROCESS) & dowtmp;                          okwtmp = logoutx(ttyline, 0, DEAD_PROCESS) & dowtmp;
 #endif  #endif
 #ifdef SUPPORT_UTMP  #ifdef SUPPORT_UTMP
                         okwtmp = logout(ttyline) & dowtmp;                          okwtmp = ftpd_logout(ttyline) & dowtmp;
 #endif  #endif
                 }                  }
                 if (okwtmp) {                  if (okwtmp) {
Line 973  logout_utmp(void)
Line 973  logout_utmp(void)
                         logwtmpx(ttyline, "", "", 0, DEAD_PROCESS);                          logwtmpx(ttyline, "", "", 0, DEAD_PROCESS);
 #endif  #endif
 #ifdef SUPPORT_UTMP  #ifdef SUPPORT_UTMP
                         logwtmp(ttyline, "", "");                          ftpd_logwtmp(ttyline, "", "");
 #endif  #endif
                 }                  }
         }          }
Line 3115  logxfer(const char *command, off_t bytes
Line 3115  logxfer(const char *command, off_t bytes
                 syslog(LOG_INFO, "%s", buf);                  syslog(LOG_INFO, "%s", buf);
         }          }
   
   
                 /*                  /*
                  * syslog wu-ftpd style log entry, prefixed with "xferlog: "                   * syslog wu-ftpd style log entry, prefixed with "xferlog: "
                  */                   */

Legend:
Removed from v.1.151  
changed lines
  Added in v.1.152

CVSweb <webmaster@jp.NetBSD.org>