aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_plugin_plug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_plugin_plug.c')
-rw-r--r--src/util/test_plugin_plug.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/util/test_plugin_plug.c b/src/util/test_plugin_plug.c
index deb36b0a0..f719a075f 100644
--- a/src/util/test_plugin_plug.c
+++ b/src/util/test_plugin_plug.c
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20/** 20/**
21 * @file util/test_plugin_plug.c 21 * @file util/test_plugin_plug.c
22 * @brief plugin for testing 22 * @brief plugin for testing
@@ -24,18 +24,18 @@
24#include "platform.h" 24#include "platform.h"
25 25
26void * 26void *
27libgnunet_plugin_test_init (void *arg) 27libgnunet_plugin_test_init(void *arg)
28{ 28{
29 if (0 == strcmp (arg, "in")) 29 if (0 == strcmp(arg, "in"))
30 return "Hello"; 30 return "Hello";
31 return NULL; 31 return NULL;
32} 32}
33 33
34void * 34void *
35libgnunet_plugin_test_done (void *arg) 35libgnunet_plugin_test_done(void *arg)
36{ 36{
37 if (0 == strcmp (arg, "out")) 37 if (0 == strcmp(arg, "out"))
38 return strdup ("World"); 38 return strdup("World");
39 return NULL; 39 return NULL;
40} 40}
41 41