git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Install guestfs.py
[libguestfs.git]
/
daemon
/
proto.c
diff --git
a/daemon/proto.c
b/daemon/proto.c
index
93d33c2
..
42bc6ea
100644
(file)
--- a/
daemon/proto.c
+++ b/
daemon/proto.c
@@
-206,8
+206,8
@@
send_error (const char *msg)
xdr_uint32_t (&xdr, &len);
xdr_destroy (&xdr);
xdr_uint32_t (&xdr, &len);
xdr_destroy (&xdr);
- xwrite (sock, lenbuf, 4);
- xwrite (sock, buf, len);
+
(void)
xwrite (sock, lenbuf, 4);
+
(void)
xwrite (sock, buf, len);
}
void
}
void
@@
-247,6
+247,6
@@
reply (xdrproc_t xdrp, char *ret)
xdr_uint32_t (&xdr, &len);
xdr_destroy (&xdr);
xdr_uint32_t (&xdr, &len);
xdr_destroy (&xdr);
- xwrite (sock, lenbuf, 4);
- xwrite (sock, buf, len);
+
(void)
xwrite (sock, lenbuf, 4);
+
(void)
xwrite (sock, buf, len);
}
}