X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnetwork.c;h=0434b35908ed578d7a5c7607a4ef104b4eb98999;hb=6e50de5cc715881f736631ed81341fd2ef6e250c;hp=3b2c25b10aac86491be6605a622cdcf5323e3ab2;hpb=04b395325b152a5ddf424d1a750f455a2f8229fb;p=collectd.git diff --git a/src/network.c b/src/network.c index 3b2c25b1..0434b359 100644 --- a/src/network.c +++ b/src/network.c @@ -1812,7 +1812,8 @@ static int network_init (void) * there, good. If not, well, then there is nothing to flush.. -octo */ static int network_flush (int timeout, - const char __attribute__((unused)) *identifier) + const char __attribute__((unused)) *identifier, + user_data_t __attribute__((unused)) *user_data) { pthread_mutex_lock (&send_buffer_lock); @@ -1832,5 +1833,6 @@ void module_register (void) plugin_register_config ("network", network_config, config_keys, config_keys_num); plugin_register_init ("network", network_init); - plugin_register_flush ("network", network_flush); + plugin_register_flush ("network", network_flush, + /* user_data = */ NULL); } /* void module_register */