mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-gtk
synced 2026-02-04 04:58:16 +00:00
Fix callback signature for --spice-debug option handling
The callback for option handling should return TRUE otherwise the option parser will think parsing failed. The current 'void' return type meant it was non-deterministic whether --spice-debug actually worked or not Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
ff7994ca59
commit
8cac57227d
@ -46,9 +46,10 @@ static void option_version(void)
|
||||
exit(0);
|
||||
}
|
||||
|
||||
static void option_debug(void)
|
||||
static gboolean option_debug(void)
|
||||
{
|
||||
spice_util_set_debug(TRUE);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user