diff options
author | Clive Lin <clive@FreeBSD.org> | 2003-04-16 12:46:15 +0000 |
---|---|---|
committer | Clive Lin <clive@FreeBSD.org> | 2003-04-16 12:46:15 +0000 |
commit | dc83ff2a39afa53eda138369dd637dd89d9bb5ef (patch) | |
tree | ee2ee1f243cdf4dc190c7b4d3ec729af87c7edc2 /mail/nullmailer | |
parent | Add pixieplus, a fast image browser for KDE by Mosfet (diff) |
Do rm(1) before cvs(1) rm next time !!
Notes
Notes:
svn path=/head/; revision=79079
Diffstat (limited to 'mail/nullmailer')
-rw-r--r-- | mail/nullmailer/files/patch-hostname.cc | 20 | ||||
-rw-r--r-- | mail/nullmailer/files/patch-send.cc | 20 | ||||
-rw-r--r-- | mail/nullmailer/files/patch-smtp.cc | 14 |
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 d4c8f443b129..000000000000 --- 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 3329b8d0781e..000000000000 --- 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 55a0cfbf883f..000000000000 --- 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); - } |