aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2010-10-22 06:47:00 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2010-10-22 06:47:00 +0000
commit61d99fff9a5d174f69156b30ef3db06457e26aa1 (patch)
treefd4d99e2c464ead6bd89a1cccdb5475f2ec7ba08 /epan/wslua
parentefd9c3e0c9720d6275a08bcd3670c30252a0547f (diff)
From Regis Cridlig via bug 5326:
The Lua text string passed to column:set(text) by a dissector will eventually be reclaimed. This causes the column to display incorrect characters. svn path=/trunk/; revision=34618
Diffstat (limited to 'epan/wslua')
-rw-r--r--epan/wslua/wslua_pinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wslua/wslua_pinfo.c b/epan/wslua/wslua_pinfo.c
index d5a5d6389f..8ed87efd00 100644
--- a/epan/wslua/wslua_pinfo.c
+++ b/epan/wslua/wslua_pinfo.c
@@ -409,7 +409,7 @@ WSLUA_METHOD Column_set(lua_State *L) {
if (!s) WSLUA_ARG_ERROR(Column_set,TEXT,"must be a string");
- col_set_str(c->cinfo, c->col, s);
+ col_add_str(c->cinfo, c->col, s);
return 0;
}