21 lines
766 B
Diff
21 lines
766 B
Diff
Index: xen-3.4.0-testing/tools/libxen/src/xen_common.c
|
|
===================================================================
|
|
--- xen-3.4.0-testing.orig/tools/libxen/src/xen_common.c
|
|
+++ xen-3.4.0-testing/tools/libxen/src/xen_common.c
|
|
@@ -904,8 +904,15 @@ static void parse_into(xen_session *s, x
|
|
0 != strcmp((char *)value_node->children->name, "struct") ||
|
|
value_node->children->children == NULL)
|
|
{
|
|
+#if PERMISSIVE
|
|
+ fprintf(stderr,
|
|
+ "Expected Map from the server, but didn't get one\n");
|
|
+ ((arbitrary_map **)value)[slot] = NULL;
|
|
+#else
|
|
+
|
|
server_error(s,
|
|
"Expected Map from the server, but didn't get it");
|
|
+#endif
|
|
}
|
|
else
|
|
{
|