Fix return type for ret (recv callback) and sort variables by alignment

Again, for reasons I don't yet understand, this is not being flagged by the
compiler. Unlike the issue addressed in r310587, this problem existed prior
to r310586

MFC after:	2 weeks
X-MFC with:	r310586, r310587
This commit is contained in:
Enji Cooper 2016-12-26 10:24:48 +00:00
parent 2bc1d16ea7
commit 0077de5654
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=310588

View File

@ -1035,9 +1035,8 @@ snmpd_input(struct port_input *pi, struct tport *tport)
struct snmp_pdu pdu;
enum snmpd_input_err ierr, ferr;
enum snmpd_proxy_err perr;
ssize_t ret, slen;
int32_t vi;
int ret;
ssize_t slen;
#ifdef USE_TCPWRAPPERS
char client[16];
#endif