X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fproto.c;h=42bc6eaa8b5aa9c5dd11105ea46441e90e25d57f;hb=4ee9666a388f771e9b353dbedc90f52a73bb86e1;hp=93d33c2c5c395c3fd6c031159e5f550ed0dbfe9d;hpb=73d6932ab2dd3f9120a1f4a532621c07cb174705;p=libguestfs.git diff --git a/daemon/proto.c b/daemon/proto.c index 93d33c2..42bc6ea 100644 --- 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); - xwrite (sock, lenbuf, 4); - xwrite (sock, buf, len); + (void) xwrite (sock, lenbuf, 4); + (void) xwrite (sock, buf, len); } void @@ -247,6 +247,6 @@ reply (xdrproc_t xdrp, char *ret) 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); }