On 2016-08-06 at 00:43:56 +0200, Vadim Kochan <[email protected]> wrote: > On Wed, Aug 03, 2016 at 04:32:06PM +0200, Tobias Klauser wrote: > > On 2016-07-26 at 21:35:18 +0200, Vadim Kochan <[email protected]> wrote: > > > +static void proto_field_func_setup(struct proto_field *field, struct > > > proto_field_func *func) > > > +{ > > > + struct packet_dyn *pkt_dyn; > > > + > > > + proto_field_func_add(field->hdr, field->id, func); > > > + > > > + pkt_dyn = &packet_dyn[packetd_last]; > > > + pkt_dyn->flen++; > > > + pkt_dyn->fields = (struct proto_field **)xrealloc(pkt_dyn->fields, > > > pkt_dyn->flen * > > > + sizeof(struct proto_field *)); > > > > No need to case the return value of xrealloc() > > Sorry, I did not get it, may be you meant "No need to cast ..." ?
Yes, sorry. That's a typo and should read "...cast the return value...". -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
