http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=47783
User: eapache
Date: 2013/02/20 03:40 PM
Log:
From Hadrien Kaplan via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8357
Fix the Lua tostring() method on FieldInfo objects such that it always returns
a string, although the string might be '(unknown)', '(none)', or '(n/a)'. This
is more conformant to Lua's API style.
Also create a new 'FieldInfo.display' accessor table member, which Lua
scripts can use instead of tostring() to get what the GUI displays.
From me:
Misc indentation fixes, remove redundant 'return' statement.
Directory: /trunk/epan/wslua/
Changes Path Action
+48 -13 wslua_field.c Modified