aboutsummaryrefslogtreecommitdiff
path: root/src/gnsrecord/gnsrecord.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnsrecord/gnsrecord.c')
-rw-r--r--src/gnsrecord/gnsrecord.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gnsrecord/gnsrecord.c b/src/gnsrecord/gnsrecord.c
index 3cbf5fc8d..8d5a6d95b 100644
--- a/src/gnsrecord/gnsrecord.c
+++ b/src/gnsrecord/gnsrecord.c
@@ -106,11 +106,11 @@ init ()
106 const struct GNUNET_OS_ProjectData *dpd = GNUNET_OS_project_data_default (); 106 const struct GNUNET_OS_ProjectData *dpd = GNUNET_OS_project_data_default ();
107 107
108 if (pd != dpd) 108 if (pd != dpd)
109 GNUNET_OS_init(dpd); 109 GNUNET_OS_init (dpd);
110 GNUNET_PLUGIN_load_all ("libgnunet_plugin_gnsrecord_", NULL, 110 GNUNET_PLUGIN_load_all ("libgnunet_plugin_gnsrecord_", NULL,
111 &add_plugin, NULL); 111 &add_plugin, NULL);
112 if (pd != dpd) 112 if (pd != dpd)
113 GNUNET_OS_init(pd); 113 GNUNET_OS_init (pd);
114} 114}
115 115
116 116
@@ -125,7 +125,7 @@ GNSRECORD_fini ()
125 const struct GNUNET_OS_ProjectData *dpd = GNUNET_OS_project_data_default (); 125 const struct GNUNET_OS_ProjectData *dpd = GNUNET_OS_project_data_default ();
126 126
127 if (pd != dpd) 127 if (pd != dpd)
128 GNUNET_OS_init(dpd); 128 GNUNET_OS_init (dpd);
129 129
130 for (unsigned int i = 0; i < num_plugins; i++) 130 for (unsigned int i = 0; i < num_plugins; i++)
131 { 131 {
@@ -139,7 +139,7 @@ GNSRECORD_fini ()
139 GNUNET_free (gns_plugins); 139 GNUNET_free (gns_plugins);
140 140
141 if (pd != dpd) 141 if (pd != dpd)
142 GNUNET_OS_init(pd); 142 GNUNET_OS_init (pd);
143 143
144 gns_plugins = NULL; 144 gns_plugins = NULL;
145 once = 0; 145 once = 0;