From b93f07ef41fedf9cdb3f48fe77ed070c69ec3608 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 5 Feb 2010 22:51:11 -0800 Subject: Fix trailing whitespace errors I added (sorry). Jeremy. --- source3/smbd/blocking.c | 4 ++-- source3/smbd/server.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source3') diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c index 6c7c167ab5..04e28a9907 100644 --- a/source3/smbd/blocking.c +++ b/source3/smbd/blocking.c @@ -76,7 +76,7 @@ static bool recalc_brl_timeout(void) TALLOC_FREE(brl_timeout); - next_timeout = timeval_zero(); + next_timeout = timeval_zero(); for (blr = blocking_lock_queue; blr; blr = blr->next) { if (timeval_is_zero(&blr->expire_time)) { @@ -117,7 +117,7 @@ static bool recalc_brl_timeout(void) if (max_brl_timeout > 0) { struct timeval min_to = timeval_current_ofs(max_brl_timeout, 0); - next_timeout = timeval_min(&next_timeout, &min_to); + next_timeout = timeval_min(&next_timeout, &min_to); } if (DEBUGLVL(10)) { diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 37716c4171..ea1ef2ef89 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -239,7 +239,7 @@ static void cleanup_timeout_fn(struct event_context *event_ctx, DEBUG(1,("Cleaning up brl and lock database after unclean shutdown\n")); message_send_all(smbd_messaging_context(), MSG_SMB_UNLOCK, NULL, 0, NULL); - messaging_send_buf(smbd_messaging_context(), procid_self(), + messaging_send_buf(smbd_messaging_context(), procid_self(), MSG_SMB_BRL_VALIDATE, NULL, 0); /* mark the cleanup as having been done */ (*cleanup_te) = NULL; @@ -255,14 +255,14 @@ static void remove_child_pid(pid_t pid, bool unclean_shutdown) processes to see if they can grab any of the pending locks */ - DEBUG(3,(__location__ " Unclean shutdown of pid %u\n", + DEBUG(3,(__location__ " Unclean shutdown of pid %u\n", (unsigned int)pid)); if (!cleanup_te) { /* call the cleanup timer, but not too often */ int cleanup_time = lp_parm_int(-1, "smbd", "cleanuptime", 20); cleanup_te = event_add_timed(smbd_event_context(), NULL, timeval_current_ofs(cleanup_time, 0), - cleanup_timeout_fn, + cleanup_timeout_fn, &cleanup_te); DEBUG(1,("Scheduled cleanup of brl and lock database after unclean shutdown\n")); } -- cgit