Author: ngie
Date: Mon Dec 26 10:21:28 2016
New Revision: 310587
URL: https://svnweb.freebsd.org/changeset/base/310587

Log:
  Fix definition for recv_dgram(..); it should be "ssize_t", not "int"
  
  I'm not sure why this wasn't flagged as an issue by the compiler, yet
  
  MFC after:    3 weeks
  X-MFC with:   r310586

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

Modified: head/contrib/bsnmp/snmpd/trans_udp.c
==============================================================================
--- head/contrib/bsnmp/snmpd/trans_udp.c        Mon Dec 26 10:17:22 2016        
(r310586)
+++ head/contrib/bsnmp/snmpd/trans_udp.c        Mon Dec 26 10:21:28 2016        
(r310587)
@@ -236,7 +236,7 @@ check_priv_dgram(struct port_input *pi, 
  * Input from a datagram socket.
  * Each receive should return one datagram.
  */
-static int
+static ssize_t
 recv_dgram(struct port_input *pi, struct in_addr *laddr)
 {
        u_char embuf[1000];
_______________________________________________
[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