Wireshark mailing list archives
Re: Console output from dissectors
From: Alexis La Goutte <alexis.lagoutte () gmail com>
Date: Wed, 29 Jun 2016 11:59:48 +0200
Hi Dario, it is "False positive" because printf is part of #ifdef DEBUG... (and no DEBUG enable) but you can look packet-mysql.c, there is the same "case" ( #ifdef CTDEBUG) and i have change to use proto_tree_add_debug_* functions Cheers On Wed, Jun 29, 2016 at 9:47 AM, Dario Lombardo <dario.lombardo.ml () gmail com
wrote:
Hello Running checkAPI against the dissectors, I get warnings like Warning: Found termoutput APIs in packet-wtp.c: printf Are the dissector expected to produce console output? If yes, which function should they use? g_log()? Thanks Dario. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org ?subject=unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Console output from dissectors Dario Lombardo (Jun 29)
- Re: Console output from dissectors Jaap Keuter (Jun 29)
- Re: Console output from dissectors Alexis La Goutte (Jun 29)