From 6667e47900e68cc35e618adf907a8ac81dc6b4d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Voc=C5=AF?= Date: Wed, 13 Jun 2012 14:43:11 +0000 Subject: [PATCH] fix parameter for TagListParse --- org.glite.lb.common/test/parse.cpp.T | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- 1.8.2.3