1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/mail/popper/files/patch-ag

32 lines
816 B
Plaintext
Raw Normal View History

1998-07-02 04:09:37 +00:00
*** pop_log.c.bak Thu Jul 2 06:45:52 1998
--- pop_log.c Thu Jul 2 06:51:21 1998
***************
*** 55,61 ****
format = va_arg(ap,char *);
#endif
#ifdef HAVE_VPRINTF
! vsprintf(msgbuf,format,ap);
#else
arg1 = va_arg(ap, char *);
arg2 = va_arg(ap, char *);
--- 55,61 ----
format = va_arg(ap,char *);
#endif
#ifdef HAVE_VPRINTF
! vsnprintf(msgbuf,sizeof(msgbuf),format,ap);
#else
arg1 = va_arg(ap, char *);
arg2 = va_arg(ap, char *);
***************
*** 77,83 ****
--- 77,85 ----
date_time = (char *)ctime(&clock);
date_time[strlen(date_time) - 1] = '\0';
(void)fprintf(p->trace,"%s [%d] %s\n",date_time, getpid(), msgbuf);
+ #if 0
(void)fprintf(p->trace,"%s \n", date_time);
+ #endif
(void)fflush(p->trace);
}
else {