]> git.pld-linux.org Git - packages/nmh.git/commitdiff
f8030c52f25a8df18ae72efdb2584438 nmh-1.0.3-compat21.patch
authorfilon <filon@sokrates.mimuw.edu.pl>
Thu, 23 Aug 2001 17:11:11 +0000 (17:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nmh-compat21.patch -> 1.1

nmh-compat21.patch [new file with mode: 0644]

diff --git a/nmh-compat21.patch b/nmh-compat21.patch
new file mode 100644 (file)
index 0000000..3b61dd2
--- /dev/null
@@ -0,0 +1,24 @@
+--- nmh-1.0.3/mts/smtp/smtp.c.compat21 Sun Sep 26 13:45:56 1999
++++ nmh-1.0.3/mts/smtp/smtp.c  Mon Feb 28 14:29:34 2000
+@@ -1026,13 +1026,19 @@
+ static int
+ sm_werror (void)
+ {
++
++#ifdef MPOP
+     sm_reply.length =
+       strlen (strcpy (sm_reply.text, sm_wfp == NULL ? "no socket opened"
+           : sm_alarmed ? "write to socket timed out"
+-#ifdef MPOP
+           : sm_ispool ? "error writing to spool file"
+-#endif
+           : "error writing to socket"));
++#else
++    sm_reply.length =
++      strlen (strcpy (sm_reply.text, sm_wfp == NULL ? "no socket opened"
++          : sm_alarmed ? "write to socket timed out"
++          : "error writing to socket"));
++#endif
+     return (sm_reply.code = NOTOK);
+ }
This page took 0.13478 seconds and 4 git commands to generate.