summaryrefslogtreecommitdiff
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
commit4f05b4b96e57ce8b407a6bba759724a38b4b8069 (patch)
tree2766b46d989868db7044e79f001582a91f14e16f /nbd.c
parent1e1ef8e686b7fc35bff73f698dd97a439b9afd97 (diff)
downloadqemu-4f05b4b96e57ce8b407a6bba759724a38b4b8069.tar.gz
qemu-4f05b4b96e57ce8b407a6bba759724a38b4b8069.tar.bz2
qemu-4f05b4b96e57ce8b407a6bba759724a38b4b8069.zip
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 306d1fa28b..e9308ee042 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)