From d183dca833410ca9c035f2d09ff11d4410d50e43 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 23 Jul 2016 14:50:17 +0200 Subject: [PATCH] utils_threshold.c: fix indentation --- src/daemon/utils_threshold.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/daemon/utils_threshold.c b/src/daemon/utils_threshold.c index 4a8df89d..cb1ea34a 100644 --- a/src/daemon/utils_threshold.c +++ b/src/daemon/utils_threshold.c @@ -124,16 +124,16 @@ int ut_search_threshold (const value_list_t *vl, /* {{{ */ if (vl == NULL) return (EINVAL); - /* Is this lock really necessary? */ - pthread_mutex_lock (&threshold_lock); + /* Is this lock really necessary? */ + pthread_mutex_lock (&threshold_lock); t = threshold_search (vl); if (t == NULL) { - pthread_mutex_unlock (&threshold_lock); + pthread_mutex_unlock (&threshold_lock); return (ENOENT); - } + } memcpy (ret_threshold, t, sizeof (*ret_threshold)); - pthread_mutex_unlock (&threshold_lock); + pthread_mutex_unlock (&threshold_lock); ret_threshold->next = NULL; -- 2.30.2