From: compudj Date: Thu, 11 Oct 2007 05:20:24 +0000 (+0000) Subject: debugging almost there X-Git-Tag: v0.12.20~839 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=565460eafbf79918133fa354b0827aa5a692f46e;p=lttv.git debugging almost there git-svn-id: http://ltt.polymtl.ca/svn@2650 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/ltt/marker.c b/ltt/branches/poly/ltt/marker.c index f1053d8c..07c50f27 100644 --- a/ltt/branches/poly/ltt/marker.c +++ b/ltt/branches/poly/ltt/marker.c @@ -346,7 +346,7 @@ static void format_parse(const char *fmt, struct marker_info *info) } break; case ' ': - if (name_end && name_begin) { + if (!name_end && name_begin) { name_end = fmt; if (name) g_free(name); @@ -356,7 +356,7 @@ static void format_parse(const char *fmt, struct marker_info *info) } break; /* Skip white spaces */ default: - if (!name) { + if (!name_begin) { name_begin = fmt; name_end = NULL; }