summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/primary.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2011-03-22 10:39:34 +0000
committerpjd <pjd@FreeBSD.org>2011-03-22 10:39:34 +0000
commitf29604a5475561d709e57cf8b3bef4ce6085bc7c (patch)
treea046d0827741aae49db295951f8bb2636b85aadf /sbin/hastd/primary.c
parent06d8daf5f364ded70a20ba580ee3c3cbe230eaf8 (diff)
downloadFreeBSD-src-f29604a5475561d709e57cf8b3bef4ce6085bc7c.zip
FreeBSD-src-f29604a5475561d709e57cf8b3bef4ce6085bc7c.tar.gz
White space cleanups.
MFC after: 1 week
Diffstat (limited to 'sbin/hastd/primary.c')
-rw-r--r--sbin/hastd/primary.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/hastd/primary.c b/sbin/hastd/primary.c
index 73f8f65..8f6ec46 100644
--- a/sbin/hastd/primary.c
+++ b/sbin/hastd/primary.c
@@ -183,7 +183,7 @@ static pthread_mutex_t metadata_lock;
while (((hio) = TAILQ_FIRST(&hio_##name##_list[(ncomp)])) == NULL && !_last) { \
cv_timedwait(&hio_##name##_list_cond[(ncomp)], \
&hio_##name##_list_lock[(ncomp)], (timeout)); \
- if ((timeout) != 0) \
+ if ((timeout) != 0) \
_last = true; \
} \
if (hio != NULL) { \
@@ -1268,7 +1268,7 @@ keepalive_send(struct hast_resource *res, unsigned int ncomp)
rw_unlock(&hio_remote_lock[ncomp]);
return;
}
-
+
PJDLOG_ASSERT(res->hr_remotein != NULL);
PJDLOG_ASSERT(res->hr_remoteout != NULL);
@@ -1314,7 +1314,7 @@ remote_send_thread(void *arg)
/* Remote component is 1 for now. */
ncomp = 1;
- lastcheck = time(NULL);
+ lastcheck = time(NULL);
for (;;) {
pjdlog_debug(2, "remote_send: Taking request.");
OpenPOWER on IntegriCloud