mirror of
https://repo.or.cz/socat.git
synced 2025-07-14 07:23:23 +00:00
Lots of minor corrections
This commit is contained in:
parent
7d6295114b
commit
1c1a91027a
19 changed files with 197 additions and 78 deletions
|
@ -72,6 +72,7 @@ int xioshutdown(xiofile_t *sock, int how) {
|
|||
return 0;
|
||||
#if _WITH_SOCKET
|
||||
case XIOSHUT_NULL:
|
||||
writenull = '\0'; /* assign something to make gcc happy */
|
||||
/* send an empty packet; only useful on datagram sockets? */
|
||||
xiowrite(sock, &writenull, 0);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue