diff options
author | ngie <ngie@FreeBSD.org> | 2016-12-31 10:32:49 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-12-31 10:32:49 +0000 |
commit | eada65d28aa46382291fb577f115698fabe04d18 (patch) | |
tree | b22d7786d88c3d7641b3a101016f6cefc6057e84 /contrib/bsnmp/snmp_vacm | |
parent | f26e57240e91d732e0eb3083ce4e1048128caa53 (diff) | |
download | FreeBSD-src-eada65d28aa46382291fb577f115698fabe04d18.zip FreeBSD-src-eada65d28aa46382291fb577f115698fabe04d18.tar.gz |
MFC r310648:
style(9): clean up trailing whitespace
Diffstat (limited to 'contrib/bsnmp/snmp_vacm')
-rw-r--r-- | contrib/bsnmp/snmp_vacm/snmp_vacm.3 | 4 | ||||
-rw-r--r-- | contrib/bsnmp/snmp_vacm/vacm_snmp.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/contrib/bsnmp/snmp_vacm/snmp_vacm.3 b/contrib/bsnmp/snmp_vacm/snmp_vacm.3 index dd57f7f..e1213d9 100644 --- a/contrib/bsnmp/snmp_vacm/snmp_vacm.3 +++ b/contrib/bsnmp/snmp_vacm/snmp_vacm.3 @@ -1,7 +1,7 @@ .\"- .\" Copyright (C) 2010 The FreeBSD Foundation .\" All rights reserved. -.\" +.\" .\" This documentation was written by Shteryana Sotirova Shopova under .\" sponsorship from the FreeBSD Foundation. .\" @@ -13,7 +13,7 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" +.\" .\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE diff --git a/contrib/bsnmp/snmp_vacm/vacm_snmp.c b/contrib/bsnmp/snmp_vacm/vacm_snmp.c index cdec9f4..61142af 100644 --- a/contrib/bsnmp/snmp_vacm/vacm_snmp.c +++ b/contrib/bsnmp/snmp_vacm/vacm_snmp.c @@ -578,7 +578,7 @@ op_vacm_view(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, return (vacm_delete_view(view)); break; default: - break; + break; } return (SNMP_ERR_NOERROR); @@ -683,7 +683,7 @@ vacm_append_access_rule_index(struct asn_oid *oid, uint sub, const struct vacm_access *acl) { uint32_t i; - + oid->len = sub + strlen(acl->group->groupname) + strlen(acl->ctx_prefix) + 4; @@ -776,7 +776,7 @@ vacm_get_next_access_rule(const struct asn_oid *oid __unused, uint sub __unused) static int vacm_view_index_decode(const struct asn_oid *oid, uint sub, char *vname, struct asn_oid *view_oid) -{ +{ uint32_t i; int viod_off; |