[Spice-devel] [spice-common PATCH 0/2] spice-common log: make error-level the default abort

Uri Lublin uril at redhat.com
Thu Dec 13 09:54:11 PST 2012


Instead of critical-level.
This default can be overwritten.

Note that I left all spice_critical code as is.
This was the intention of the original commit using spice_critical.
I could have replaced all spice_critical with spice_error, and later
change per-case to spice_critical.
How do people feel about this ?

The first patch adds some 'return's upon error.
The second patch changes the default.


Uri Lublin (2):
  common: prepare for not aborting on spice_critical
  common: log: make error level the default abort level

 common/gdi_canvas.c |    3 +++
 common/log.c        |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)



More information about the Spice-devel mailing list