X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=server-src%2Fdiskfile.c;fp=server-src%2Fdiskfile.c;h=42fa544ea4cdea37c7c336a4c76f07c5430f81d8;hb=96f35b20267e8b1a1c846d476f27fcd330e0b018;hp=5c3662ef558227b7546fa778c6d21c9ddc67f5e1;hpb=d74dc4d908fcbc1a4ef474edaf51e61ec90eab6b;p=debian%2Famanda diff --git a/server-src/diskfile.c b/server-src/diskfile.c index 5c3662e..42fa544 100644 --- a/server-src/diskfile.c +++ b/server-src/diskfile.c @@ -1784,7 +1784,6 @@ xml_scripts( xml_app_t xml_app; xml_app.features = their_features; - xml_app.result = stralloc(""); xml_scr = stralloc(""); for (pp_scriptlist1=pp_scriptlist; pp_scriptlist1 != NULL; @@ -1881,6 +1880,7 @@ xml_scripts( "\n", NULL); amfree(eo_str); proplist = pp_script_get_property(pp_script); + xml_app.result = stralloc(""); g_hash_table_foreach(proplist, xml_property, &xml_app); xml_scr = vstrextend(&xml_scr, xml_scr1, xml_app.result, " \n", NULL); amfree(b64plugin);