aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist/test_gnunet_daemon_hostlist_learning.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hostlist/test_gnunet_daemon_hostlist_learning.c')
-rw-r--r--src/hostlist/test_gnunet_daemon_hostlist_learning.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_learning.c b/src/hostlist/test_gnunet_daemon_hostlist_learning.c
index f92215679..a18255e6d 100644
--- a/src/hostlist/test_gnunet_daemon_hostlist_learning.c
+++ b/src/hostlist/test_gnunet_daemon_hostlist_learning.c
@@ -424,7 +424,7 @@ setup_learn_peer (struct PeerContext *p,
424 { 424 {
425 if (GNUNET_YES == GNUNET_DISK_file_test (filename)) 425 if (GNUNET_YES == GNUNET_DISK_file_test (filename))
426 { 426 {
427 result = UNLINK (filename); 427 result = unlink (filename);
428 if (result == 0) 428 if (result == 0)
429 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 429 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
430 _("Hostlist file `%s' was removed\n"), 430 _("Hostlist file `%s' was removed\n"),
@@ -577,7 +577,7 @@ main (int argc, char *argv[])
577 if (GNUNET_YES == 577 if (GNUNET_YES ==
578 GNUNET_DISK_file_test ("hostlists_learn_peer.file")) 578 GNUNET_DISK_file_test ("hostlists_learn_peer.file"))
579 { 579 {
580 if (0 == UNLINK ("hostlists_learn_peer.file")) 580 if (0 == unlink ("hostlists_learn_peer.file"))
581 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 581 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
582 "Hostlist file hostlists_learn_peer.file was removed\n"); 582 "Hostlist file hostlists_learn_peer.file was removed\n");
583 } 583 }