From: Richard Jones Date: Sat, 27 Mar 2010 11:02:03 +0000 (+0000) Subject: Fix the error message when reply body is too large (RHBZ#509597). X-Git-Tag: 1.0.89~10 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=f826ce4876135a8abb72383aa5a5681f045f5367;p=libguestfs.git Fix the error message when reply body is too large (RHBZ#509597). --- diff --git a/daemon/proto.c b/daemon/proto.c index 1ad9d11..0002d80 100644 --- a/daemon/proto.c +++ b/daemon/proto.c @@ -289,7 +289,7 @@ reply (xdrproc_t xdrp, char *ret) * we want to return an error message instead. (RHBZ#509597). */ if (!(*xdrp) (&xdr, ret)) { - reply_with_perror ("guestfsd: failed to encode reply body\n"); + reply_with_error ("guestfsd: failed to encode reply body\n(maybe the reply exceeds the maximum message size in the protocol?)"); xdr_destroy (&xdr); return; }