From 8cb2c797934d717538b3dd585c3759c04131a4ad Mon Sep 17 00:00:00 2001 From: sr Date: Wed, 5 Sep 2012 18:09:28 +0200 Subject: [SERVER] Automatically add and remove alt servers from images depending on wehter the other server is reachable [SERVER] Automatically replicate images from other servers --- src/server/xmlutil.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/xmlutil.h') diff --git a/src/server/xmlutil.h b/src/server/xmlutil.h index 971d8a9..fddb317 100644 --- a/src/server/xmlutil.h +++ b/src/server/xmlutil.h @@ -4,7 +4,7 @@ #include #include -xmlChar *getTextFromPath(xmlDocPtr doc, char *xpath); +char *getTextFromPath(xmlDocPtr doc, char *xpath); #define FOR_EACH_NODE(_doc, _path, _node) do { \ xmlXPathContextPtr _makro_xpathCtx = xmlXPathNewContext(_doc); \ @@ -33,6 +33,6 @@ xmlChar *getTextFromPath(xmlDocPtr doc, char *xpath); xmlFree(_makro_ptrlist[_makro_i_]); \ } } while(0) -#define XML_GETPROP(_node, _name) (xmlChar*)(_makro_ptrlist[(_makro_usedcount >= NUM_POINTERS_IN_LIST ? 0 : _makro_usedcount++)] = xmlGetNoNsProp(_node, BAD_CAST _name)) +#define XML_GETPROP(_node, _name) (char*)(_makro_ptrlist[(_makro_usedcount >= NUM_POINTERS_IN_LIST ? 0 : _makro_usedcount++)] = xmlGetNoNsProp(_node, BAD_CAST _name)) #endif -- cgit v1.2.3-55-g7522