Date: Thu, 29 Dec 2016 00:26:27 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r310733 - stable/10/contrib/bsnmp/snmpd Message-ID: <201612290026.uBT0QRCk086229@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Thu Dec 29 00:26:27 2016 New Revision: 310733 URL: https://svnweb.freebsd.org/changeset/base/310733 Log: MFstable/11 r310732: MFC r310574: Fix style(9) - Sort #includes - Delete trailing whitespace No functional change Modified: stable/10/contrib/bsnmp/snmpd/trans_lsock.c Directory Properties: stable/10/ (props changed) Modified: stable/10/contrib/bsnmp/snmpd/trans_lsock.c ============================================================================== --- stable/10/contrib/bsnmp/snmpd/trans_lsock.c Thu Dec 29 00:25:38 2016 (r310732) +++ stable/10/contrib/bsnmp/snmpd/trans_lsock.c Thu Dec 29 00:26:27 2016 (r310733) @@ -32,15 +32,15 @@ */ #include <sys/types.h> #include <sys/queue.h> -#include <sys/un.h> #include <sys/stat.h> +#include <sys/un.h> +#include <errno.h> +#include <stddef.h> #include <stdio.h> #include <stdlib.h> -#include <stddef.h> -#include <syslog.h> #include <string.h> -#include <errno.h> +#include <syslog.h> #include <unistd.h> #include "snmpmod.h" @@ -417,7 +417,7 @@ lsock_send(struct tport *tp, const u_cha return (-1); } } - + return (sendto(peer->input.fd, buf, len, 0, addr, addrlen)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612290026.uBT0QRCk086229>