From: Sebastian Harl Date: Thu, 28 Jul 2016 21:56:46 +0000 (+0200) Subject: bts832577-gcry-control.patch: Add missing return statement. X-Git-Tag: collectd-5.5.2-1~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=028aa87c2b2fd6f69463d1c2c457b2fff8e277ef;p=pkg-collectd.git bts832577-gcry-control.patch: Add missing return statement. This got lost when updating the patch. --- diff --git a/debian/patches/bts832577-gcry-control.patch b/debian/patches/bts832577-gcry-control.patch index 14b803f..b4e324a 100644 --- a/debian/patches/bts832577-gcry-control.patch +++ b/debian/patches/bts832577-gcry-control.patch @@ -35,7 +35,7 @@ diff a/src/network.c b/src/network.c } # endif -@@ -530,11 +530,11 @@ +@@ -530,11 +530,12 @@ if (err) { ERROR ("network plugin: gcry_control (GCRYCTL_SET_THREAD_CBS) failed: %s", gcry_strerror (err)); @@ -45,11 +45,12 @@ diff a/src/network.c b/src/network.c gcry_control (GCRYCTL_INITIALIZATION_FINISHED); -} /* }}} void network_init_gcrypt */ ++ return (0); +} /* }}} int network_init_gcrypt */ static gcry_cipher_hd_t network_get_aes256_cypher (sockent_t *se, /* {{{ */ const void *iv, size_t iv_size, const char *username) -@@ -2077,7 +2077,12 @@ +@@ -2077,7 +2078,12 @@ { if (se->data.client.security_level > SECURITY_LEVEL_NONE) { @@ -63,7 +64,7 @@ diff a/src/network.c b/src/network.c if ((se->data.client.username == NULL) || (se->data.client.password == NULL)) -@@ -2097,7 +2102,12 @@ +@@ -2097,7 +2103,12 @@ { if (se->data.server.security_level > SECURITY_LEVEL_NONE) { @@ -77,7 +78,7 @@ diff a/src/network.c b/src/network.c if (se->data.server.auth_file == NULL) { -@@ -3548,7 +3558,11 @@ +@@ -3548,7 +3559,11 @@ have_init = 1; #if HAVE_LIBGCRYPT