Adjusted a few inconsistencies with the manual.

This commit is contained in:
Diego Nehab 2003-08-16 00:06:04 +00:00
parent 3099704aff
commit c51d4acf1c
20 changed files with 412 additions and 156 deletions

View file

@ -26,8 +26,10 @@ int sock_open(void)
\*-------------------------------------------------------------------------*/
void sock_destroy(p_sock ps)
{
close(*ps);
*ps = SOCK_INVALID;
if (*ps != SOCK_INVALID) {
close(*ps);
*ps = SOCK_INVALID;
}
}
/*-------------------------------------------------------------------------*\