From 0dc64479b96ff571409ec69e7eab6fd502cd229d Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Fri, 11 Nov 2011 03:18:51 +0100 Subject: [PATCH] cosmetics --- src/surf/surfxml_parseplatf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/surf/surfxml_parseplatf.c b/src/surf/surfxml_parseplatf.c index 33498c33c7..7a6cd0e540 100644 --- a/src/surf/surfxml_parseplatf.c +++ b/src/surf/surfxml_parseplatf.c @@ -76,10 +76,9 @@ static void parse_Etag_trace(void) tmgr_trace_t trace; if (!trace_file || strcmp(trace_file, "") != 0) { trace = tmgr_trace_new(trace_file); - } else { - if (strcmp(surfxml_pcdata, "") == 0) + } else if (strcmp(surfxml_pcdata, "") == 0) { trace = NULL; - else + } else { trace = tmgr_trace_new_from_string(trace_id, surfxml_pcdata, trace_periodicity); -- 2.20.1