summaryrefslogtreecommitdiff
path: root/mail/msmtp/patches
diff options
context:
space:
mode:
Diffstat (limited to 'mail/msmtp/patches')
-rw-r--r--mail/msmtp/patches/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/msmtp/patches/patch-ab b/mail/msmtp/patches/patch-ab
new file mode 100644
index 00000000000..b59dcc9924b
--- /dev/null
+++ b/mail/msmtp/patches/patch-ab
@@ -0,0 +1,11 @@
+$NetBSD: patch-ab,v 1.1 2006/01/01 18:59:04 ben Exp $
+
+--- src/msmtp.c.orig Sun Aug 14 13:13:02 2005
++++ src/msmtp.c
+@@ -3382,5 +3382,5 @@ exit:
+ list_xfree(errmsg, free);
+ }
+
+- return error_code;
++ return (error_code == EX_OK) ? 0 : error_code;
+ }