summaryrefslogtreecommitdiffstats
path: root/src/guestfs_protocol.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-18 15:31:53 +0100
committerRichard Jones <rjones@redhat.com>2009-04-18 15:31:53 +0100
commitef499de8946cf4b8120ef7917b2e5d7f9115041f (patch)
tree8972aedf961b05a1d836ab15dcf946e837d12b42 /src/guestfs_protocol.c
parentad1d84a142169baaed293de71fb9430178d9f999 (diff)
downloadlibguestfs-ef499de8946cf4b8120ef7917b2e5d7f9115041f.tar.gz
libguestfs-ef499de8946cf4b8120ef7917b2e5d7f9115041f.tar.xz
libguestfs-ef499de8946cf4b8120ef7917b2e5d7f9115041f.zip
Separate out the high-level API actions.
- Split out the high-level API actions so that they are in a separate file, and use the defined guestfs C API, instead of fiddling around with internal structures.
Diffstat (limited to 'src/guestfs_protocol.c')
-rw-r--r--src/guestfs_protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guestfs_protocol.c b/src/guestfs_protocol.c
index 86a338f4..c4246d60 100644
--- a/src/guestfs_protocol.c
+++ b/src/guestfs_protocol.c
@@ -1221,7 +1221,7 @@ xdr_guestfs_message_error (XDR *xdrs, guestfs_message_error *objp)
{
register int32_t *buf;
- if (!xdr_string (xdrs, &objp->error, GUESTFS_ERROR_LEN))
+ if (!xdr_string (xdrs, &objp->error_message, GUESTFS_ERROR_LEN))
return FALSE;
return TRUE;
}