author | Florian Forster <octo@collectd.org> | |
Fri, 2 Sep 2016 07:32:30 +0000 (09:32 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 2 Sep 2016 07:32:30 +0000 (09:32 +0200) |
1 | 2 | |||
---|---|---|---|---|
src/network.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc src/network.c
index 51c07573567dff4afb1b3f7953ad97db35509791,f1140608851417958a0dfd9f1382e49d67684930..9a0f429aad88b64bca940484f107978c0f8d0016
--- 1/src/network.c
--- 2/src/network.c
+++ b/src/network.c
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);