cvs: php4 /win32 sendmail.c
| From: | Hartmut Holzgraefe | Date: | Fri, 28 Jul 2000 12:21:44 +0000 |
| Subject: | cvs: php4 /win32 sendmail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-962@lists.php.net to get a copy of this message | ||
hholzgra Fri Jul 28 05:21:44 2000 EDT
Modified files:
/php4/win32 sendmail.c
Log:
should fix bug #5729
# I'm unable to test, as I still haven't got working Windows
# Please check that it compiles.
Index: php4/win32/sendmail.c
diff -u php4/win32/sendmail.c:1.13 php4/win32/sendmail.c:1.14
--- php4/win32/sendmail.c:1.13 Tue Jul 11 04:52:48 2000
+++ php4/win32/sendmail.c Fri Jul 28 05:21:44 2000
@@ -160,6 +160,9 @@
compomise the rest of the application if sockets are used
elesewhere
*/
+
+ shutdown(sc, 0);
+ closesocket(sc);
}
@@ -197,7 +200,6 @@
//*******************************************************************/
int SendText(char *RPath, char *Subject, char *mailTo, char *data, char *headers)
{
-
int res, i;
char *p;
char *tempMailTo, *token, *pos1, *pos2;