diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-12-02 13:32:40 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-12-02 13:32:40 +0000 |
commit | 65f44b459070a1dbfba66c31e0be69588e49f4a8 (patch) | |
tree | 68c0e728302eb4bdfe84bfff4f3e1d0beaa08c0f /daemon | |
parent | 01d62985c3f0234fc0e9e4909c85c6a401c4bfcc (diff) | |
download | libguestfs-65f44b459070a1dbfba66c31e0be69588e49f4a8.tar.gz libguestfs-65f44b459070a1dbfba66c31e0be69588e49f4a8.tar.xz libguestfs-65f44b459070a1dbfba66c31e0be69588e49f4a8.zip |
generator: Code to handle optional arguments in daemon functions.
Previously we only supported optional arguments for library
functions (commit 14490c3e1aac61c6ac90f28828896683f64f0dc9).
This extends that work so that optional arguments can also be
passed through to the daemon.
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/proto.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/daemon/proto.c b/daemon/proto.c index 1fdb26c7..00e3166c 100644 --- a/daemon/proto.c +++ b/daemon/proto.c @@ -167,14 +167,6 @@ main_loop (int _sock) reply_with_error ("unexpected message status (%d)", hdr.status); goto cont; } - /* This version of the daemon does not understand optional arguments - * at all. When we fix this, we will remove the next conditional. - */ - if (hdr.optargs_bitmask != 0) { - reply_with_error ("optargs_bitmask != 0 (%" PRIu64 ")", - hdr.optargs_bitmask); - goto cont; - } proc_nr = hdr.proc; serial = hdr.serial; |