summaryrefslogtreecommitdiff
path: root/nbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'nbd.c')
-rw-r--r--nbd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nbd.c b/nbd.c
index 306d1fa28..e9308ee04 100644
--- a/nbd.c
+++ b/nbd.c
@@ -463,6 +463,7 @@ static int nbd_receive_request(int csock, struct nbd_request *request)
errno = EINVAL;
return -1;
}
+ return 0;
}
int nbd_receive_reply(int csock, struct nbd_reply *reply)