diff options
author | ngie <ngie@FreeBSD.org> | 2016-12-29 00:26:27 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-12-29 00:26:27 +0000 |
commit | 29d62d335696779c326bbf2b2d969334a75faadf (patch) | |
tree | 073c81c8a6fccdc5060f76eea4216a8957320da8 /contrib/bsnmp/snmpd | |
parent | db67bb087a72800636a3f0ab492f5215cb967774 (diff) | |
download | FreeBSD-src-29d62d335696779c326bbf2b2d969334a75faadf.zip FreeBSD-src-29d62d335696779c326bbf2b2d969334a75faadf.tar.gz |
MFstable/11 r310732:
MFC r310574:
Fix style(9)
- Sort #includes
- Delete trailing whitespace
No functional change
Diffstat (limited to 'contrib/bsnmp/snmpd')
-rw-r--r-- | contrib/bsnmp/snmpd/trans_lsock.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/bsnmp/snmpd/trans_lsock.c b/contrib/bsnmp/snmpd/trans_lsock.c index 30b66f7..f9d4a32 100644 --- a/contrib/bsnmp/snmpd/trans_lsock.c +++ b/contrib/bsnmp/snmpd/trans_lsock.c @@ -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_char *buf, size_t len, return (-1); } } - + return (sendto(peer->input.fd, buf, len, 0, addr, addrlen)); } |