should fix bug #5729

# I'm unable to test, as I still haven't got working Windows
# Please check that it compiles.
This commit is contained in:
Hartmut Holzgraefe 2000-07-28 12:21:44 +00:00
parent 2c95b113bd
commit a525d022ce

View file

@ -160,6 +160,9 @@ void TSMClose()
compomise the rest of the application if sockets are used compomise the rest of the application if sockets are used
elesewhere elesewhere
*/ */
shutdown(sc, 0);
closesocket(sc);
} }
@ -197,7 +200,6 @@ char *GetSMErrorText(int index)
//*******************************************************************/ //*******************************************************************/
int SendText(char *RPath, char *Subject, char *mailTo, char *data, char *headers) int SendText(char *RPath, char *Subject, char *mailTo, char *data, char *headers)
{ {
int res, i; int res, i;
char *p; char *p;
char *tempMailTo, *token, *pos1, *pos2; char *tempMailTo, *token, *pos1, *pos2;