qapi: fix input visitor bugs
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 18 Jun 2014 14:50:07 +0000 (17:50 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 15:44:22 +0000 (18:44 +0300)
commitc210ee95f22e90733eceeb18b9ca1914ff29e482
treebf24eed4b37181b24bb8233544d8dde66087b418
parentb4acfbcd95ac9a668e2f49dd9e1449ea81263752
qapi: fix input visitor bugs

Remove dead code.  Reset errno to 0 before each strtoull call, as the
man page requires.

Reported-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
qapi/string-input-visitor.c