851c8fb730
Bump package revision.
13 lines
515 B
Text
13 lines
515 B
Text
$NetBSD: patch-aa,v 1.6 2007/09/23 12:48:46 tron Exp $
|
|
|
|
--- sink.c.orig 2007-03-29 23:45:17.000000000 +0100
|
|
+++ sink.c 2007-09-23 13:42:40.000000000 +0100
|
|
@@ -262,7 +262,7 @@
|
|
const char *md1 = "MAILER-DAEMON", *md2 = "MAILER-DAEMON@";
|
|
|
|
/* don't bounce in reply to undeliverable bounces */
|
|
- if (!msg->return_path[0] ||
|
|
+ if (!msg || !msg->return_path[0] ||
|
|
strcmp(msg->return_path, "<>") == 0 ||
|
|
strcasecmp(msg->return_path, md1) == 0 ||
|
|
strncasecmp(msg->return_path, md2, strlen(md2)) == 0)
|