Code

Merge branch 'collectd-5.5' into collectd-5.6
authorFlorian Forster <octo@collectd.org>
Tue, 6 Sep 2016 06:08:01 +0000 (08:08 +0200)
committerFlorian Forster <octo@collectd.org>
Tue, 6 Sep 2016 06:08:01 +0000 (08:08 +0200)
1  2 
src/daemon/plugin.c
src/network.c

Simple merge
diff --cc src/network.c
index 51c07573567dff4afb1b3f7953ad97db35509791,f1140608851417958a0dfd9f1382e49d67684930..9a0f429aad88b64bca940484f107978c0f8d0016
@@@ -3449,15 -3558,7 +3444,7 @@@ static int network_init (void
                return (0);
        have_init = 1;
  
- #if HAVE_LIBGCRYPT
-       if (network_init_gcrypt () < 0)
-       {
-               ERROR ("network plugin: Failed to initialize crypto library.");
-               return (-1);
-       }
- #endif
 -      if (network_config_stats != 0)
 +      if (network_config_stats)
                plugin_register_read ("network", network_stats_read);
  
        plugin_register_shutdown ("network", network_shutdown);