Author: ngie
Date: Mon Dec 26 10:24:48 2016
New Revision: 310588
URL: https://svnweb.freebsd.org/changeset/base/310588

Log:
  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

Modified:
  head/contrib/bsnmp/snmpd/main.c

Modified: head/contrib/bsnmp/snmpd/main.c
==============================================================================
--- head/contrib/bsnmp/snmpd/main.c     Mon Dec 26 10:21:28 2016        
(r310587)
+++ head/contrib/bsnmp/snmpd/main.c     Mon Dec 26 10:24:48 2016        
(r310588)
@@ -1035,9 +1035,8 @@ snmpd_input(struct port_input *pi, struc
        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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to