Fix profiler stack dump for string chunks.

This commit is contained in:
Mike Pall 2013-09-11 23:51:46 +02:00
parent 1f2eff728b
commit 0953b9a72d

View File

@ -567,7 +567,7 @@ static int debug_putchunkname(SBuf *sb, GCproto *pt, int pathstrip)
}
lj_buf_putmem(sb, p, len);
} else {
lj_buf_putmem(sb, "[string]", 9);
lj_buf_putmem(sb, "[string]", 8);
}
return 1;
}