--- server/tests/test_display_base.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/tests/test_display_base.c b/server/tests/test_display_base.c index 8c7f512..588e960 100644 --- a/server/tests/test_display_base.c +++ b/server/tests/test_display_base.c @@ -703,7 +703,11 @@ static int flush_resources(QXLInstance *qin) static void client_monitors_config(QXLInstance *qin, VDAgentMonitorsConfig *monitors_config) { - printf("%s: %d\n", __func__, monitors_config->num_of_monitors); + if (!monitors_config) { + printf("%s: NULL monitors_config\n", __func__); + } else { + printf("%s: %d\n", __func__, monitors_config->num_of_monitors); + } } QXLInterface display_sif = { -- 1.7.12.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel