summaryrefslogtreecommitdiff
path: root/win32/sendmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/sendmail.c')
-rw-r--r--win32/sendmail.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/win32/sendmail.c b/win32/sendmail.c
index 273a3737c6..9e31028d58 100644
--- a/win32/sendmail.c
+++ b/win32/sendmail.c
@@ -1,11 +1,11 @@
-/*
+/*
* PHP Sendmail for Windows.
*
* This file is rewritten specificly for PHPFI. Some functionality
* has been removed (MIME and file attachments). This code was
* modified from code based on code written by Jarle Aase.
*
- * This class is based on the original code by Jarle Aase, see bellow:
+ * This class is based on the original code by Jarle Aase, see below:
* wSendmail.cpp It has been striped of some functionality to match
* the requirements of phpfi.
*
@@ -26,7 +26,6 @@
#include <string.h>
#include <math.h>
#include <malloc.h>
-#include <memory.h>
#include <winbase.h>
#include "sendmail.h"
#include "php_ini.h"
@@ -48,7 +47,7 @@
/* '*error_message' has to be passed around from php_mail() */
#define SMTP_ERROR_RESPONSE_SPEC "SMTP server response: %s"
-/* Convinient way to handle error messages from the SMTP server.
+/* Convenient way to handle error messages from the SMTP server.
response is ecalloc()d in Ack() itself and efree()d here
because the content is in *error_message now */
#define SMTP_ERROR_RESPONSE(response) { \
@@ -980,12 +979,3 @@ static int FormatEmailAddress(char* Buf, char* EmailAddress, char* FormatString)
}
return snprintf(Buf, MAIL_BUFFER_SIZE , FormatString , EmailAddress );
} /* end FormatEmailAddress() */
-
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
- */