Fixed socket cleanup
This commit is contained in:
parent
fc8a84633c
commit
82db9a609f
@ -55,6 +55,10 @@ v0.61.4 11-Aug-2004
|
|||||||
When calling the external editor, the fromaddress if available
|
When calling the external editor, the fromaddress if available
|
||||||
is given to joe.
|
is given to joe.
|
||||||
|
|
||||||
|
mbnewusr:
|
||||||
|
During program exit, it tried to remove the wrong socket to
|
||||||
|
mbtask.
|
||||||
|
|
||||||
mbuser:
|
mbuser:
|
||||||
Fixed permissions.
|
Fixed permissions.
|
||||||
|
|
||||||
|
@ -621,7 +621,7 @@ void Fast_Bye(int onsig)
|
|||||||
socket_shutdown(mypid);
|
socket_shutdown(mypid);
|
||||||
|
|
||||||
temp = calloc(PATH_MAX, sizeof(char));
|
temp = calloc(PATH_MAX, sizeof(char));
|
||||||
sprintf(temp, "%s/tmp/mbsebbs%d", getenv("MBSE_ROOT"), getpid());
|
sprintf(temp, "%s/tmp/mbnewusr%d", getenv("MBSE_ROOT"), getpid());
|
||||||
unlink(temp);
|
unlink(temp);
|
||||||
free(temp);
|
free(temp);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user