aboutsummaryrefslogtreecommitdiffstats
path: root/mail/popper/files/patch-ag
blob: e8af268d625ac8272bd3e8f563cdd5656aa11e73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
*** 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 {