aboutsummaryrefslogtreecommitdiff
path: root/pflocal
diff options
context:
space:
mode:
Diffstat (limited to 'pflocal')
-rw-r--r--pflocal/socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pflocal/socket.c b/pflocal/socket.c
index ef54b65b..d60bece3 100644
--- a/pflocal/socket.c
+++ b/pflocal/socket.c
@@ -404,6 +404,7 @@ S_socket_recv (struct sock_user *user,
if (err == EPIPE)
/* EOF */
{
+ err = 0;
*data_len = 0;
if (num_ports)
*num_ports = 0;