diff options
author | ng0 <ng0@n0.is> | 2019-09-06 22:46:29 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-06 22:46:29 +0000 |
commit | 6e599264ad13e8fc105493d74d7c11d46f8739ed (patch) | |
tree | 169bef1ecbade5a659831fb169f3ae6943af127f /src/hostlist/test_gnunet_daemon_hostlist_learning.c | |
parent | 4f13bc15113021ebf71d5d81e99bc29f8a07fc9c (diff) | |
download | gnunet-6e599264ad13e8fc105493d74d7c11d46f8739ed.tar.gz gnunet-6e599264ad13e8fc105493d74d7c11d46f8739ed.zip |
first step to remove plibc
Diffstat (limited to 'src/hostlist/test_gnunet_daemon_hostlist_learning.c')
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist_learning.c | 4 |
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 | } |