Commit 0a63fc9d authored by Jean-Paul Saman's avatar Jean-Paul Saman

dvbinfo: use close iso shutdown for UDP sockets.

parent 6d7d5422
......@@ -172,7 +172,7 @@ int udp_close(int fd)
{
int result = 0;
result = shutdown(fd, 2);
result = close(fd);
if (result < 0)
perror("udp shutdown error");
return result;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment