Fix checkAPI warning for printf.
Another legitimate use, so use ws_debug_printf. Change-Id: I9bebe01e80987caf8e18a59b93a48f9a2d6ee397 Reviewed-on: https://code.wireshark.org/review/16835 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
a52793aec1
commit
573171934f
|
@ -37,6 +37,7 @@
|
|||
#include "packet.h"
|
||||
#include "wsutil/filesystem.h"
|
||||
#include "dissectors/packet-ber.h"
|
||||
#include <wsutil/ws_printf.h> /* ws_debug_printf */
|
||||
|
||||
#ifdef HAVE_LIBSMI
|
||||
#include <smi.h>
|
||||
|
@ -46,7 +47,7 @@ static gboolean load_smi_modules = FALSE;
|
|||
static gboolean suppress_smi_errors = FALSE;
|
||||
#endif
|
||||
|
||||
#define D(level,args) do if (debuglevel >= level) { printf args; printf("\n"); fflush(stdout); } while(0)
|
||||
#define D(level,args) do if (debuglevel >= level) { ws_debug_printf args; ws_debug_printf("\n"); fflush(stdout); } while(0)
|
||||
|
||||
#include "oids.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue