svn commit: r310592 - head/contrib/bsnmp/snmpd
Ngie Cooper
ngie at FreeBSD.org
Mon Dec 26 11:16:56 UTC 2016
Author: ngie
Date: Mon Dec 26 11:16:55 2016
New Revision: 310592
URL: https://svnweb.freebsd.org/changeset/base/310592
Log:
style(9): fix trailing whitespace
MFC after: 3 days
Modified:
head/contrib/bsnmp/snmpd/trap.c
Modified: head/contrib/bsnmp/snmpd/trap.c
==============================================================================
--- head/contrib/bsnmp/snmpd/trap.c Mon Dec 26 11:11:30 2016 (r310591)
+++ head/contrib/bsnmp/snmpd/trap.c Mon Dec 26 11:16:55 2016 (r310592)
@@ -214,7 +214,7 @@ trapsink_unmodify(struct trapsink *t, st
t->version = tdep->rb_version;
if (tdep->set & TDEP_COMM)
strcpy(t->comm, tdep->rb_comm);
-
+
return (SNMP_ERR_NOERROR);
}
@@ -538,7 +538,7 @@ snmp_send_trap(const struct asn_oid *tra
TAILQ_FOREACH(t, &trapsink_list, link) {
if (t->status != TRAPSINK_ACTIVE)
continue;
-
+
if (t->version == TRAPSINK_V1)
snmp_create_v1_trap(&pdu, t->comm, trap_oid);
else
More information about the svn-src-head
mailing list