From: Michal Voců Date: Wed, 13 Jun 2012 14:43:11 +0000 (+0000) Subject: fix parameter for TagListParse X-Git-Tag: canl_merge_branch_1_0_head_take_3_dst~2 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=6667e47900e68cc35e618adf907a8ac81dc6b4d6;p=jra1mw.git fix parameter for TagListParse --- diff --git a/org.glite.lb.common/test/parse.cpp.T b/org.glite.lb.common/test/parse.cpp.T index a011f7f..7314ab2 100644 --- a/org.glite.lb.common/test/parse.cpp.T +++ b/org.glite.lb.common/test/parse.cpp.T @@ -124,7 +124,7 @@ void EventParseTest::$l() } elsif ($f->{type} eq "timeval") { $value = "e1->$l.$fn.tv_sec = 326890800; e1->$l.$fn.tv_usec = 1;"; } elsif ($f->{type} eq "taglist") { - $value = "edg_wll_TagListParse(\"key=value\", &e1->$l.$fn);"; + $value = "edg_wll_TagListParse(strdup(\"key=value\"), &e1->$l.$fn);"; } else { gen "% FIXME: unknown type $f->{type} for $fn \n"; }