Wireshark mailing list archives

Re: wireshark decode as..??


From: Jakub Zawadzki <darkjames () darkjames ath cx>
Date: Tue, 23 Mar 2010 00:50:55 +0100

On Tue, Mar 23, 2010 at 10:09:19AM +1100, ronnie sahlberg wrote:
You also shouldnt hardcode the size of the array in the for loop like
that,   use something like      sizeof[ports] / sizeof(ports[0])
instead.

Or better use wireshark array_length() macro.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: