git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef3a669
)
Fix the error message when reply body is too large (RHBZ#509597).
author
Richard Jones
<rjones@redhat.com>
Sat, 27 Mar 2010 11:02:03 +0000
(11:02 +0000)
committer
Richard Jones
<rjones@redhat.com>
Sat, 27 Mar 2010 11:11:30 +0000
(11:11 +0000)
daemon/proto.c
patch
|
blob
|
history
diff --git
a/daemon/proto.c
b/daemon/proto.c
index
1ad9d11
..
0002d80
100644
(file)
--- 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;
}