aboutsummaryrefslogtreecommitdiffstats
path: root/epan/oids.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2021-02-27 03:38:15 +0000
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-05-24 01:13:19 +0000
commit9ba97d12d6b1b2e6e06311375c07ce975fc08205 (patch)
tree33343e07bc84b8d930546c4e91a987712edb021b /epan/oids.c
parentde00cdd5129c30fdd138fe49da2003a5d3f74d8f (diff)
Add ws_debug() and use it
Replace most instances of ws_debug_printf() except in epan/dissectors and dissector plugins. Some replacements use printf(), some use ws_debug(), and some were removed because they were dead or judged to be temporary.
Diffstat (limited to 'epan/oids.c')
-rw-r--r--epan/oids.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/oids.c b/epan/oids.c
index edbb194ce0..eef840d2b7 100644
--- a/epan/oids.c
+++ b/epan/oids.c
@@ -25,7 +25,6 @@
#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>
@@ -36,7 +35,7 @@ static gboolean load_smi_modules = FALSE;
static gboolean suppress_smi_errors = FALSE;
#endif
-#define D(level,args) do if (debuglevel >= level) { ws_debug_printf args; ws_debug_printf("\n"); fflush(stdout); } while(0)
+#define D(level,args) do if (debuglevel >= level) { printf args; printf("\n"); fflush(stdout); } while(0)
#include "oids.h"