aboutsummaryrefslogtreecommitdiff
path: root/mail/procmail/files/patch-src-comsat.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/procmail/files/patch-src-comsat.c')
-rw-r--r--mail/procmail/files/patch-src-comsat.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/procmail/files/patch-src-comsat.c b/mail/procmail/files/patch-src-comsat.c
new file mode 100644
index 000000000000..02d3e9a9ba74
--- /dev/null
+++ b/mail/procmail/files/patch-src-comsat.c
@@ -0,0 +1,11 @@
+--- src/comsat.c.orig Tue Sep 11 08:55:46 2001
++++ src/comsat.c Wed Nov 17 09:44:12 2004
+@@ -120,7 +120,7 @@
+ { int s;const char*p;
+ if(!csvalid||!buf) /* is comat on and set to a valid address? */
+ return;
+- if(!*cslgname||strlen(cslgname)+2>linebuf) /* is $LOGNAME bogus? */
++ if(!cslgname||!*cslgname||strlen(cslgname)+2>linebuf) /* is $LOGNAME bogus? */
+ return;
+ if(!(p=folder?folder:cslastf)) /* do we have a folder? */
+ return;