Re: [tcpdump-workers] [Patch] print-zeromq.c

2014-03-05 Thread François-Xavier Le Bail
[resend lost message] > From: Guy Harris > > On Mar 4, 2014, at 5:43 AM, François-Xavier Le Bail > wrote: > >> Is it not better to add const in the propotype ? > > In what cases, if any, are parameters that are const (rather than non-const > parameters that point to a const object) usefu

Re: [tcpdump-workers] [Patch] print-zeromq.c

2014-03-05 Thread François-Xavier Le Bail
> From: Gisle Vanem > > "François-Xavier Le Bail" wrote: > >> Is it not better to add const in the propotype ? > > Comparing to other print-function with a 'len' as last parameter, > I think not. Looking through interface.h for *_print() functions, only these > have a 'const u_int' as last a