diff options
-rw-r--r-- | src/vcl/ldp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vcl/ldp.c b/src/vcl/ldp.c index 47ad0f8a9e1..3944239ec1a 100644 --- a/src/vcl/ldp.c +++ b/src/vcl/ldp.c @@ -1501,7 +1501,10 @@ recv (int fd, void *buf, size_t n, int flags) { size = vls_recvfrom (vlsh, buf, n, flags, NULL); if (size < 0) - errno = -size; + { + errno = -size; + size = -1; + } } else { |