Commit d94888e35b064df49c8059dfe1f67563e011579e
1 parent
e924c485
Add missing return
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4846 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
0 deletions
nbd.c
@@ -463,6 +463,7 @@ static int nbd_receive_request(int csock, struct nbd_request *request) | @@ -463,6 +463,7 @@ static int nbd_receive_request(int csock, struct nbd_request *request) | ||
463 | errno = EINVAL; | 463 | errno = EINVAL; |
464 | return -1; | 464 | return -1; |
465 | } | 465 | } |
466 | + return 0; | ||
466 | } | 467 | } |
467 | 468 | ||
468 | int nbd_receive_reply(int csock, struct nbd_reply *reply) | 469 | int nbd_receive_reply(int csock, struct nbd_reply *reply) |