freebsd-dev/sbin/ipf/libipf/msgdsize.c
Cy Schubert 2582ae5740 ipfilter: Adjust userland returns to conform to style(9)
Adjust ipfilter's userland return statements to conform to style(9).

MFC after:	1 month
2022-01-03 18:06:43 -08:00

20 lines
327 B
C

/*
* Copyright (C) 2012 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
* $Id: msgdsize.c,v 1.2.4.3 2012/07/22 08:04:24 darren_r Exp $
*/
#include "ipf.h"
size_t msgdsize(mb_t *orig)
{
size_t sz = 0;
mb_t *m;
for (m = orig; m != NULL; m = m->mb_next)
sz += m->mb_len;
return(sz);
}