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);