summaryrefslogtreecommitdiff
path: root/mail/yatsvrs/patches/patch-bm
blob: 02646fd5a7957937b5d24f6fc70f75219a1b3ff1 (plain)
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
$NetBSD: patch-bm,v 1.1 2003/10/05 04:25:15 taca Exp $

--- yatd/xmit.c.orig	2001-06-22 16:49:59.000000000 +0900
+++ yatd/xmit.c
@@ -43,7 +43,7 @@ int FuncXmit ()
   /*  Receive the message */
 #ifdef DEBUG_LOCAL
   LogDEBUG("Receiving mail message");
-#endif DEBUG_LOCAL
+#endif
   while (CatchPopLineWithSig(Buffer, MAXLINELEN, stdin) != NULL) {
     if ((fputs(Buffer, fp) == EOF) || (fputs("\n", fp) == EOF)) {
       if (SkipPopGabage(stdin)) {
@@ -70,7 +70,7 @@ int FuncXmit ()
   
 #ifdef DEBUG_LOCAL
   LogDEBUG("Forking for \"%.256s\"",MAIL_COMMAND);
-#endif DEBUG_LOCAL
+#endif
   /*  Send the message */
   switch (pid = fork()) {
   case 0:
@@ -87,7 +87,7 @@ int FuncXmit ()
 #ifdef DEBUG_LOCAL
     if (!SysData.fDebug)
       unlink (szTmp);
-#endif DEBUG_LOCAL
+#endif
     ErrSetData(errno, ERRFLG_SYSERR, "fork() failed");
     return FAILURE;
   default: