Wireshark-dev: Re: [Wireshark-dev] Patch: epan/stats_tree_priv.h
From: Gisle Vanem <gvanem@xxxxxxxxxxxx>
Date: Thu, 31 May 2012 22:20:48 +0200
"Jakub Zawadzki" <darkjames-ws@xxxxxxxxxxxx> 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