aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/wslua_gui.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2006-10-04 14:37:46 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2006-10-04 14:37:46 +0000
commitba90067e6253449a9ca243b75831537c11634d16 (patch)
tree2899e3a53dbad2dfe41cae595c56b8cf4ca6edb6 /epan/wslua/wslua_gui.c
parent7ecb3721a35e151b8d4d2c3e80feed27bfd9cc16 (diff)
- wslua_util.c: replace Lua's loadfile and dofile for versions that will try to open the file in perscofdir then dataconfdir if there's no such file in cwd
- wslua_field.c: avoid FieldInfo:__tostring() crashing when the ftype has no val_to_string_repr - init.lua: inform the user that a packet has been disabled, intead of a cryptic "attemt to call nil" - Makefile.am: add register_wslua.c and declare_wslua.h to MAINTAINERCLEANFILES - wslua_gui.c: fix a typo svn path=/trunk/; revision=19425
Diffstat (limited to 'epan/wslua/wslua_gui.c')
-rw-r--r--epan/wslua/wslua_gui.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/wslua/wslua_gui.c b/epan/wslua/wslua_gui.c
index e5586ac73d..6529d8271c 100644
--- a/epan/wslua/wslua_gui.c
+++ b/epan/wslua/wslua_gui.c
@@ -574,7 +574,7 @@ WSLUA_FUNCTION wslua_set_filter(lua_State* L) { /* set the main filter text */
WSLUA_FUNCTION wslua_apply_filter(lua_State* L) { /* apply the filter in the main filter box */
if (!ops->apply_filter) {
- WSLUA_ERROR(wslua_set_filter, "does not work on TShark");
+ WSLUA_ERROR(wslua_apply_filter, "does not work on TShark");
}
ops->apply_filter();
@@ -583,8 +583,7 @@ WSLUA_FUNCTION wslua_apply_filter(lua_State* L) { /* apply the filter in the mai
}
-WSLUA_FUNCTION wslua_reload(lua_State* L) { /* set the main filter text */
-#define WSLUA_ARG_set_filter_TEXT 1 /* The filter's text. */
+WSLUA_FUNCTION wslua_reload(lua_State* L) { /* reload the current capture file */
if (!ops->reload) {
WSLUA_ERROR(wslua_reload, "does not work on TShark");