summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/nullmailer/files/patch-hostname.cc20
-rw-r--r--mail/nullmailer/files/patch-send.cc20
-rw-r--r--mail/nullmailer/files/patch-smtp.cc14
3 files changed, 0 insertions, 54 deletions
diff --git a/mail/nullmailer/files/patch-hostname.cc b/mail/nullmailer/files/patch-hostname.cc
deleted file mode 100644
index d4c8f44..0000000
--- a/mail/nullmailer/files/patch-hostname.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- lib/hostname.cc.orig Sun Aug 25 00:04:39 2002
-+++ lib/hostname.cc Sun Aug 25 00:06:23 2002
-@@ -22,6 +22,7 @@
- #include "config.h"
- #include "mystring/mystring.h"
- #include <unistd.h>
-+#include <string.h>
- #include <sys/utsname.h>
-
- static mystring* hostname_cache = 0;
-@@ -30,7 +31,9 @@
- #ifdef HAVE_GETDOMAINNAME
- // Re-declare the prototype here, as some systems don't declare it
- // in a predictable header file.
-+#if __FreeBSD_version > 500034
- extern "C" int getdomainname();
-+#endif
- #endif
-
- static void getnames()
diff --git a/mail/nullmailer/files/patch-send.cc b/mail/nullmailer/files/patch-send.cc
deleted file mode 100644
index 3329b8d..0000000
--- a/mail/nullmailer/files/patch-send.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/send.cc.orig Sun Aug 25 00:09:37 2002
-+++ src/send.cc Sun Aug 25 00:10:05 2002
-@@ -30,6 +30,7 @@
- #include <sys/types.h>
- #include <sys/wait.h>
- #include <unistd.h>
-+#include <stdlib.h>
- #include "configio.h"
- #include "defines.h"
- #include "errcodes.h"
-@@ -233,8 +234,7 @@
- << itoa(files.count()) << " message(s) in queue." << endl;
- for(rlist::iter remote(remotes); remote; remote++) {
- for(slist::iter file(files); file; files.remove(file)) {
-- if(!send_one(*file, *remote))
-- break;
-+ send_one(*file, *remote);
- }
- }
- fout << "Delivery complete, "
diff --git a/mail/nullmailer/files/patch-smtp.cc b/mail/nullmailer/files/patch-smtp.cc
deleted file mode 100644
index 55a0cfb..0000000
--- a/mail/nullmailer/files/patch-smtp.cc
+++ /dev/null
@@ -1,14 +0,0 @@
---- protocols/smtp.cc
-+++ protocols/smtp.cc
-@@ -120,9 +120,8 @@
- docmd("DATA", 300);
- mystring tmp;
- while(msg->getline(tmp)) {
-- if((tmp[0] == '.' && tmp[1] == 0 && !(out << ".")) ||
-- !(out << tmp << "\r\n"))
-- exit(ERR_MSG_WRITE);
-+ if(tmp[0] == '.' && !(out << ".")) exit(ERR_MSG_WRITE);
-+ if(!(out << tmp << "\r\n")) exit(ERR_MSG_WRITE);
- }
- docmd(".", 200);
- }
OpenPOWER on IntegriCloud