typedef struct _edg_wll_ConnProxy edg_wll_ConnProxy;
+/* !!! if adding something malloc-able, update edg_wll_FreeContext too !!! */
glite_lb_padded_struct(_edg_wll_Context,120,
/* Error handling */
int errCode; /* recent error code */
char **list = NULL;
int i, len, tot_len = 0;
int *len_list = NULL;
+ char *tag = NULL;
i = from;
while (i <= to) {
+ tag = indexToTag(i-1);
len = trio_asprintf(&pomA,"%s\t<%s>%|Xd</%s>\r\n",
- indent, indexToTag(i-1),toAdd[i],indexToTag(i-1));
+ indent,tag,toAdd[i],tag);
+
+ if (tag) free(tag);
i++;
tot_len += len;
char **list = NULL;
int i, len, tot_len = 0;
int *len_list = NULL;
+ char *tag = NULL;
i = from;
while (i < to) {
+ tag = indexToTag(i);
len = trio_asprintf(&pomA,"%s\t<%s>%|Xld</%s>\r\n",
- indent, indexToTag(i),toAdd[i],indexToTag(i));
+ indent,tag,toAdd[i],tag);
+
+ if (tag) free(tag);
i++;
tot_len += len;