Date: Mon, 26 Dec 2016 07:31:16 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r310574 - head/contrib/bsnmp/snmpd Message-ID: <201612260731.uBQ7VGTZ070312@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Mon Dec 26 07:31:16 2016 New Revision: 310574 URL: https://svnweb.freebsd.org/changeset/base/310574 Log: Fix style(9) - Sort #includes - Delete trailing whitespace No functional change MFC after: 3 days Modified: head/contrib/bsnmp/snmpd/trans_lsock.c Modified: head/contrib/bsnmp/snmpd/trans_lsock.c ============================================================================== --- head/contrib/bsnmp/snmpd/trans_lsock.c Mon Dec 26 06:59:22 2016 (r310573) +++ head/contrib/bsnmp/snmpd/trans_lsock.c Mon Dec 26 07:31:16 2016 (r310574) @@ -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?201612260731.uBQ7VGTZ070312>