From dc83ff2a39afa53eda138369dd637dd89d9bb5ef Mon Sep 17 00:00:00 2001 From: Clive Lin Date: Wed, 16 Apr 2003 12:46:15 +0000 Subject: Do rm(1) before cvs(1) rm next time !! --- mail/nullmailer/files/patch-hostname.cc | 20 -------------------- mail/nullmailer/files/patch-send.cc | 20 -------------------- mail/nullmailer/files/patch-smtp.cc | 14 -------------- 3 files changed, 54 deletions(-) delete mode 100644 mail/nullmailer/files/patch-hostname.cc delete mode 100644 mail/nullmailer/files/patch-send.cc delete mode 100644 mail/nullmailer/files/patch-smtp.cc (limited to 'mail') 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 -+#include - #include - - 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 - #include - #include -+#include - #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); - } -- cgit v1.2.3