summaryrefslogtreecommitdiffstats
path: root/contrib/bsnmp/snmp_usm
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-12-31 10:32:49 +0000
committerngie <ngie@FreeBSD.org>2016-12-31 10:32:49 +0000
commiteada65d28aa46382291fb577f115698fabe04d18 (patch)
treeb22d7786d88c3d7641b3a101016f6cefc6057e84 /contrib/bsnmp/snmp_usm
parentf26e57240e91d732e0eb3083ce4e1048128caa53 (diff)
downloadFreeBSD-src-eada65d28aa46382291fb577f115698fabe04d18.zip
FreeBSD-src-eada65d28aa46382291fb577f115698fabe04d18.tar.gz
MFC r310648:
style(9): clean up trailing whitespace
Diffstat (limited to 'contrib/bsnmp/snmp_usm')
-rw-r--r--contrib/bsnmp/snmp_usm/snmp_usm.34
-rw-r--r--contrib/bsnmp/snmp_usm/usm_snmp.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/contrib/bsnmp/snmp_usm/snmp_usm.3 b/contrib/bsnmp/snmp_usm/snmp_usm.3
index ceb62e4..03959ed 100644
--- a/contrib/bsnmp/snmp_usm/snmp_usm.3
+++ b/contrib/bsnmp/snmp_usm/snmp_usm.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_usm/usm_snmp.c b/contrib/bsnmp/snmp_usm/usm_snmp.c
index 6b7d0eb..c475940 100644
--- a/contrib/bsnmp/snmp_usm/usm_snmp.c
+++ b/contrib/bsnmp/snmp_usm/usm_snmp.c
@@ -179,7 +179,7 @@ op_usm_users(struct snmp_context *ctx, struct snmp_value *val,
case LEAF_usmUserCloneFrom:
if (uuser != NULL || usm_user_index_decode(&val->var,
- sub, eid, &elen, uname) < 0 ||
+ sub, eid, &elen, uname) < 0 ||
!(asn_is_suboid(&oid_usmUserSecurityName, &val->v.oid)))
return (SNMP_ERR_WRONG_VALUE);
if ((clone = usm_get_user(&val->v.oid, sub)) == NULL)
@@ -311,7 +311,7 @@ op_usm_users(struct snmp_context *ctx, struct snmp_value *val,
} else if (val->v.integer != RowStatus_active &&
val->v.integer != RowStatus_destroy)
return (SNMP_ERR_INCONS_VALUE);
-
+
uuser->status = val->v.integer;
break;
}
@@ -381,7 +381,7 @@ op_usm_users(struct snmp_context *ctx, struct snmp_value *val,
usm_delete_user(uuser);
break;
default:
- break;
+ break;
}
return (SNMP_ERR_NOERROR);
OpenPOWER on IntegriCloud