diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2007-05-02 23:54:01 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2007-05-02 23:54:01 +0000 |
commit | 51a7fa1404db99efc7239b2cf9215fe83491f8a5 (patch) | |
tree | 1f206ce8717147ab9adf399e3d01277887a98379 | |
parent | 8a293db12188152f4bcaa6695419cec6aa9e3ca6 (diff) | |
download | wireshark-51a7fa1404db99efc7239b2cf9215fe83491f8a5.tar.gz wireshark-51a7fa1404db99efc7239b2cf9215fe83491f8a5.tar.bz2 wireshark-51a7fa1404db99efc7239b2cf9215fe83491f8a5.zip |
The forgotten file strikes back.
... It also fixes a lua compile warning/error in wslua_gui.c. ...
svn path=/trunk/; revision=21656
-rw-r--r-- | epan/wslua/wslua_gui.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/wslua/wslua_gui.c b/epan/wslua/wslua_gui.c index 7a4f12e905..9b15780f2f 100644 --- a/epan/wslua/wslua_gui.c +++ b/epan/wslua/wslua_gui.c @@ -537,7 +537,7 @@ WSLUA_FUNCTION wslua_open_capture_file(lua_State* L) { /* open and display a cap const char* fname = luaL_checkstring(L,WSLUA_ARG_open_capture_file_FILENAME); const char* filter = luaL_optstring(L,WSLUA_ARG_open_capture_file_FILTER,NULL); - char* error = NULL; + const char* error = NULL; if (!ops->open_file) { WSLUA_ERROR(wslua_open_capture_file, "does not work on TShark"); @@ -637,3 +637,4 @@ WSLUA_FUNCTION wslua_browser_open_data_file(lua_State* L) { /* open an file in a } + |