diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2021-02-27 03:38:15 +0000 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-05-24 01:13:19 +0000 |
commit | 9ba97d12d6b1b2e6e06311375c07ce975fc08205 (patch) | |
tree | 33343e07bc84b8d930546c4e91a987712edb021b /epan/asn1.c | |
parent | de00cdd5129c30fdd138fe49da2003a5d3f74d8f (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/asn1.c')
-rw-r--r-- | epan/asn1.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/epan/asn1.c b/epan/asn1.c index 26ee0cd82e..0b06da9761 100644 --- a/epan/asn1.c +++ b/epan/asn1.c @@ -16,10 +16,6 @@ #include <string.h> #include <stdlib.h> #include <math.h> -#ifdef DEBUG -#include <stdio.h> -#include <wsutil/ws_printf.h> /* ws_debug_printf */ -#endif #include <epan/packet.h> @@ -260,9 +256,6 @@ double asn1_get_real(const guint8 *real_ptr, gint len) { p++; } val = (double) S * N * pow(2, F) * pow(B, E); -#ifdef DEBUG - ws_debug_printf("S = %d, N = %lu, F = %u, B = %u, E = %d -> %f\n", S, N, F, B, E, val); -#endif } else if (octet & 0x40) { /* SpecialRealValue */ switch (octet & 0x3F) { case 0x00: val = HUGE_VAL; break; |