- some debugging printfs had been left in.  They're now #ifdef'd
	  out
This commit is contained in:
gdr-ftp 1999-01-29 07:52:17 +00:00
parent 32a9a4f966
commit b29f3e7037

View File

@ -267,10 +267,14 @@ char *ct, *crmsg;
T->logout = bp->ut_time; T->logout = bp->ut_time;
} }
} }
#if 0
printf("ut_time = %lu\n", buf[0].ut_time); printf("ut_time = %lu\n", buf[0].ut_time);
printf("localtime(ut_time) = %p\n", localtime(&buf[0].ut_time)); printf("localtime(ut_time) = %p\n", localtime(&buf[0].ut_time));
#endif
ct = ctime(&buf[0].ut_time); ct = ctime(&buf[0].ut_time);
#if 0
printf("ctime completed\n"); printf("ctime completed\n");
#endif
printf("\nwtmp begins %10.10s %5.5s \n", ct, ct + 11); printf("\nwtmp begins %10.10s %5.5s \n", ct, ct + 11);
} }
@ -323,7 +327,9 @@ addarg(int type, char *arg)
{ {
ARG *cur; ARG *cur;
#if 0
printf("addarg(%d, '%s')\n", type, arg); printf("addarg(%d, '%s')\n", type, arg);
#endif
if (!(cur = (ARG *)malloc((u_int)sizeof(ARG)))) if (!(cur = (ARG *)malloc((u_int)sizeof(ARG))))
err(1, "malloc failure"); err(1, "malloc failure");
cur->next = arglist; cur->next = arglist;
@ -340,8 +346,9 @@ TTY *
addtty(char *ttyname) addtty(char *ttyname)
{ {
TTY *cur; TTY *cur;
#if 0
printf("addtty('%s')\n", ttyname); printf("addtty('%s')\n", ttyname);
#endif
if (!(cur = (TTY *)malloc((u_int)sizeof(TTY)))) if (!(cur = (TTY *)malloc((u_int)sizeof(TTY))))
err(1, "malloc failure"); err(1, "malloc failure");
cur->next = ttylist; cur->next = ttylist;