aboutsummaryrefslogtreecommitdiff
path: root/nbd.c
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-04 11:53:53 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-04 11:53:53 +0000
commitd94888e35b064df49c8059dfe1f67563e011579e (patch)
tree2766b46d989868db7044e79f001582a91f14e16f /nbd.c
parente924c485737c38f6d6e4f3ebd65705733e837356 (diff)
downloadqemu-d94888e35b064df49c8059dfe1f67563e011579e.zip
qemu-d94888e35b064df49c8059dfe1f67563e011579e.tar.gz
qemu-d94888e35b064df49c8059dfe1f67563e011579e.tar.bz2
Add missing return
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4846 c046a42c-6fe2-441c-8c8c-71466251a162
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 306d1fa..e9308ee 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)