mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
libxl_json: fix build with DEBUG_ANSWER
Also replace LIBXL__LOG_DEBUG by XTL_DEBUG, because it's shorter and more often used in libxl. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
This commit is contained in:
1 parent
0c04dec663
commit
22ef662c7a
1 file changed
+2
-2
@@ -59,8 +59,8 @@ struct libxl__yajl_ctx {
|
||||
const unsigned char *buf = NULL; \
|
||||
size_t len = 0; \
|
||||
yajl_gen_get_buf((yajl_ctx)->g, &buf, &len); \
|
||||
LIBXL__LOG(libxl__gc_owner((yajl_ctx)->gc), LIBXL__LOG_DEBUG,
|
||||
"response:\n", buf); \
|
||||
LIBXL__LOG(libxl__gc_owner((yajl_ctx)->gc), XTL_DEBUG, \
|
||||
"response: %s\n", buf); \
|
||||
yajl_gen_free((yajl_ctx)->g); \
|
||||
(yajl_ctx)->g = NULL; \
|
||||
} while (0)
|
||||
|
||||