Wireshark mailing list archives

Re: Patch: epan/stats_tree_priv.h


From: Gisle Vanem <gvanem () broadpark no>
Date: Thu, 31 May 2012 22:20:48 +0200

"Jakub Zawadzki" <darkjames-ws () darkjames pl> wrote:

Hi,

On Thu, May 31, 2012 at 09:13:50PM +0200, Gisle Vanem wrote:
The implementation of 'stats_tree_get_cfg_by_abbr()' takes a
'const char *', so why shouldn't the prototype do the same?

Really? Looking at code it's without const:
http://code.wireshark.org/git/?p=wireshark;a=blob;f=epan/stats_tree.c;h=7344cf6091ab18664e64f7d11874f67004a11216;hb=HEAD#l359

Strange. Did a fresh 'svn checkout' and I see you're right.

--gv
___________________________________________________________________________
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: