summaryrefslogtreecommitdiffstats
path: root/usr.sbin/iscsid
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2014-10-22 09:17:17 +0000
committertrasz <trasz@FreeBSD.org>2014-10-22 09:17:17 +0000
commit853fc00c2a595397930af55fa5123c8e08aa36c0 (patch)
tree06d7a15efbcff2378ce0e28c8ef1ed1f44905886 /usr.sbin/iscsid
parent1bb0800b27fa08cfe8ed7bc8488ef14bdff2e2a8 (diff)
downloadFreeBSD-src-853fc00c2a595397930af55fa5123c8e08aa36c0.zip
FreeBSD-src-853fc00c2a595397930af55fa5123c8e08aa36c0.tar.gz
Whitespace fixes.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.sbin/iscsid')
-rw-r--r--usr.sbin/iscsid/keys.c2
-rw-r--r--usr.sbin/iscsid/login.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/iscsid/keys.c b/usr.sbin/iscsid/keys.c
index abf746a..bab1ac9 100644
--- a/usr.sbin/iscsid/keys.c
+++ b/usr.sbin/iscsid/keys.c
@@ -117,7 +117,7 @@ keys_save(struct keys *keys, struct pdu *pdu)
for (i = 0; i < KEYS_MAX; i++) {
if (keys->keys_names[i] == NULL)
break;
- /*
+ /*
* +1 for '=', +1 for '\0'.
*/
len += strlen(keys->keys_names[i]) +
diff --git a/usr.sbin/iscsid/login.c b/usr.sbin/iscsid/login.c
index 19ab844..afe7ebb 100644
--- a/usr.sbin/iscsid/login.c
+++ b/usr.sbin/iscsid/login.c
@@ -182,7 +182,7 @@ kernel_modify(const struct connection *conn, const char *target_address)
* be much more complicated: we would need to keep "dependencies"
* for sessions, so that, in case described in draft and using draft
* terminology, we would have three sessions: one for discovery,
- * one for initial target portal, and one for redirect portal.
+ * one for initial target portal, and one for redirect portal.
* This would allow us to "backtrack" on connection failure,
* as described in draft.
*/
@@ -756,8 +756,8 @@ login(struct connection *conn)
* to parse things such as TargetAlias.
*
* XXX: This is somewhat ugly. We should have a way to apply
- * all the keys to the session and use that by default
- * instead of discarding them.
+ * all the keys to the session and use that by default
+ * instead of discarding them.
*/
if (strcmp(response_keys->keys_names[i], "AuthMethod") == 0)
continue;
OpenPOWER on IntegriCloud