info: rename a function parameter
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 1 Dec 2015 18:13:12 +0000 (19:13 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 2 Dec 2015 19:54:16 +0000 (20:54 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/info/olsrd_info.c
lib/info/olsrd_info.h

index 4d5a5a4..dbad9a8 100644 (file)
@@ -413,10 +413,10 @@ static int plugin_ipc_init(void) {
  *This function is called by the my_init
  *function in uolsrd_plugin.c
  */
-int info_plugin_init(const char * plugin_name, info_plugin_functions_t *plugin_functions, info_plugin_config_t *config) {
+int info_plugin_init(const char * plugin_name, info_plugin_functions_t *plugin_functions, info_plugin_config_t *plugin_config) {
   functions = plugin_functions;
   PLUGIN_NAME = plugin_name;
-  info_plugin_config = config;
+  info_plugin_config = plugin_config;
 
   /* Initial IPC value */
   ipc_socket = -1;
index 77c310d..8016549 100644 (file)
@@ -44,7 +44,7 @@
 
 #include "info_types.h"
 
-int info_plugin_init(const char * plugin_name, info_plugin_functions_t *plugin_functions, info_plugin_config_t *config);
+int info_plugin_init(const char * plugin_name, info_plugin_functions_t *plugin_functions, info_plugin_config_t *plugin_config);
 void info_plugin_exit(void);
 
 #endif /* _OLSRD_LIB_INFO_OLSRD_INFO_H_ */