"Fossies" - the Fresh Open Source Software Archive 
Member "ipfire-2.x-2.27-core174/src/patches/collectd/0010-indent-wh_init-to-be-consistent-with-the-rest-of-the.patch" (7 Apr 2023, 1000 Bytes) of package /linux/misc/ipfire-2.x-2.27-core174.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 From 6bd48f2346c5072dc22da58c7b7cd8e8ceb83fc5 Mon Sep 17 00:00:00 2001
2 From: Marc Fournier <marc.fournier@camptocamp.com>
3 Date: Sat, 29 Mar 2014 13:37:36 +0100
4 Subject: [PATCH 10/22] indent wh_init() to be consistent with the rest of the
5 file
6
7 ---
8 src/write_http.c | 8 ++++----
9 1 file changed, 4 insertions(+), 4 deletions(-)
10
11 diff --git a/src/write_http.c b/src/write_http.c
12 index 04c637b..0a13444 100644
13 --- a/src/write_http.c
14 +++ b/src/write_http.c
15 @@ -658,10 +658,10 @@ static int wh_config (oconfig_item_t *ci) /* {{{ */
16
17 static int wh_init (void) /* {{{ */
18 {
19 - /* Call this while collectd is still single-threaded to avoid
20 - * initialization issues in libgcrypt. */
21 - curl_global_init (CURL_GLOBAL_SSL);
22 - return (0);
23 + /* Call this while collectd is still single-threaded to avoid
24 + * initialization issues in libgcrypt. */
25 + curl_global_init (CURL_GLOBAL_SSL);
26 + return (0);
27 } /* }}} int wh_init */
28
29 void module_register (void) /* {{{ */
30 --
31 1.9.3
32