diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-09-18 10:09:31 -0700 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2018-09-19 16:07:03 +0000 |
commit | 8f08a4e74ea8aa56284e6035017adf1c423c4f09 (patch) | |
tree | 030955437d3e8b2a2b5ebdcb3e0f9ba77ab42ef9 /epan/wslua/wslua_frame_info.c | |
parent | ca8304249ee986f947b30eaea1d830207165c65e (diff) |
Try to discourage the use of APIs via counting.
Add the ability to specify maximum function counts for each group to
checkAPIs. Add maximum counts for the "termoutput" and "abort" groups
where needed. Show summaries in various checkAPI targets.
Switch uses of ws_g_warning back to plain g_warning.
Change-Id: I5cbddc8c671729e424eed8551f69116d16491976
Reviewed-on: https://code.wireshark.org/review/29721
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'epan/wslua/wslua_frame_info.c')
-rw-r--r-- | epan/wslua/wslua_frame_info.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/wslua/wslua_frame_info.c b/epan/wslua/wslua_frame_info.c index 566b8645eb..6f98e31335 100644 --- a/epan/wslua/wslua_frame_info.c +++ b/epan/wslua/wslua_frame_info.c @@ -14,7 +14,6 @@ */ #include "wslua_file_common.h" -#include <wsutil/ws_printf.h> /* ws_g_warning */ /* WSLUA_CONTINUE_MODULE File */ @@ -145,12 +144,12 @@ static int FrameInfo_set_data (lua_State* L) { FrameInfo fi = checkFrameInfo(L,1); if (!fi->rec) { - ws_g_warning("Error in FrameInfo set data: NULL pointer"); + g_warning("Error in FrameInfo set data: NULL pointer"); return 0; } if (!fi->buf) { - ws_g_warning("Error in FrameInfo set data: NULL frame_buffer pointer"); + g_warning("Error in FrameInfo set data: NULL frame_buffer pointer"); return 0; } |