From f58e16f53f13a8ebec18f043bf4318d2065f6d87 Mon Sep 17 00:00:00 2001 From: claudio Date: Mon, 12 Apr 2021 10:03:33 +0000 Subject: [PATCH] Spaces, no functional change --- usr.sbin/iscsid/pdu.c | 8 ++++---- usr.sbin/iscsid/util.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/usr.sbin/iscsid/pdu.c b/usr.sbin/iscsid/pdu.c index 37e2f81d543..7fe2d77da6c 100644 --- a/usr.sbin/iscsid/pdu.c +++ b/usr.sbin/iscsid/pdu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pdu.c,v 1.12 2019/07/03 03:24:03 deraadt Exp $ */ +/* $OpenBSD: pdu.c,v 1.13 2021/04/12 10:03:33 claudio Exp $ */ /* * Copyright (c) 2009 Claudio Jeker @@ -287,7 +287,7 @@ pdu_write(struct connection *c) if ((n = writev(c->fd, iov, niov)) == -1) { if (errno == EAGAIN || errno == ENOBUFS || - errno == EINTR) /* try later */ + errno == EINTR) /* try later */ return 0; else { log_warn("pdu_write"); @@ -298,7 +298,7 @@ pdu_write(struct connection *c) return 0; size = n; - for (b = TAILQ_FIRST(&c->pdu_w); b != NULL && size > 0; b = nb) { + for (b = TAILQ_FIRST(&c->pdu_w); b != NULL && size > 0; b = nb) { nb = TAILQ_NEXT(b, entry); resid = b->resid; for (j = 0; j < PDU_MAXIOV; j++) { @@ -385,7 +385,7 @@ pdu_parse(struct connection *c) else { n = pdu_readbuf_read(&c->prbuf, (char *)p->iov[j].iov_base + off, - p->iov[j].iov_len - off); + p->iov[j].iov_len - off); p->resid += n; if (n == 0 || off + n != p->iov[j].iov_len) diff --git a/usr.sbin/iscsid/util.c b/usr.sbin/iscsid/util.c index ef9711c3e94..e40f2cc7c3d 100644 --- a/usr.sbin/iscsid/util.c +++ b/usr.sbin/iscsid/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.8 2016/08/16 18:41:57 tedu Exp $ */ +/* $OpenBSD: util.c,v 1.9 2021/04/12 10:03:33 claudio Exp $ */ /* * Copyright (c) 2009 Claudio Jeker @@ -107,7 +107,7 @@ pdu_free(struct pdu *p) int socket_setblockmode(int fd, int nonblocking) { - int flags; + int flags; if ((flags = fcntl(fd, F_GETFL)) == -1) return -1; -- 2.20.1