From: Zdeněk Salvet Date: Fri, 19 Mar 2010 13:44:06 +0000 (+0000) Subject: Unescape error message from notification calls. X-Git-Tag: glite-jobid-api-c_R_1_0_2_1~26 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=5e63ee952d336d31bb4d5bd776a1fa72bac45340;p=jra1mw.git Unescape error message from notification calls. --- diff --git a/org.glite.lb.common/src/xml_parse.c.T b/org.glite.lb.common/src/xml_parse.c.T index 5420b2d..4e81d9d 100644 --- a/org.glite.lb.common/src/xml_parse.c.T +++ b/org.glite.lb.common/src/xml_parse.c.T @@ -666,7 +666,7 @@ static void startNotifResult(void *data, const char *el, const char **attr) if (!strcmp(attr[i],"code")) XMLCtx->errCode = atoi(attr[i+1]); else if (!strcmp(attr[i],"desc")) - XMLCtx->errDesc = strdup(attr[i+1]); + XMLCtx->errDesc = glite_lbu_EscapeXML(attr[i+1]); else { unexpError() } } break;