summaryrefslogtreecommitdiff
path: root/extra/resolve_stack_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'extra/resolve_stack_dump.c')
-rw-r--r--extra/resolve_stack_dump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/resolve_stack_dump.c b/extra/resolve_stack_dump.c
index 5606c17ecf3..447d63890bd 100644
--- a/extra/resolve_stack_dump.c
+++ b/extra/resolve_stack_dump.c
@@ -290,7 +290,8 @@ static void do_resolve()
char buf[1024], *p;
while (fgets(buf, sizeof(buf), fp_dump))
{
- p = buf;
+ /* skip bracket */
+ p= (p= strchr(buf, '[')) ? p+1 : buf;
/* skip space */
while (my_isspace(&my_charset_latin1,*p))
++p;