summary refs log tree commit diff stats
path: root/hw/qdev.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-07-22 13:42:17 +0200
committerAlon Levy <alevy@redhat.com>2011-07-22 18:05:36 +0300
commit009651675afc775fc77018273a47fb36c28a8100 (patch)
tree42b87a5e5e3f84694989c31e92f34c5f8dfb57ca /hw/qdev.c
parentee83d41466ab393d82d9abf57b9ec24d4e6633be (diff)
downloadfocaccia-qemu-009651675afc775fc77018273a47fb36c28a8100.tar.gz
focaccia-qemu-009651675afc775fc77018273a47fb36c28a8100.zip
libcacard: s/strip(args++)/strip(args+1)
vcard_emul_options used args = strip(args++) a few times, which
was not returning the expected result since the rest of the code
expected args to be increased by at least 1, which is not the case
if *args is not a blank space when this function is called.
Replace these calls by "strip(args+1)" which will do what we expect.

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Reviewed-by: Alon Levy <alevy@redhat.com>
Diffstat (limited to 'hw/qdev.c')
0 files changed, 0 insertions, 0 deletions