summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-09-09 11:42:11 +0000
committerng0 <ng0@n0.is>2019-09-09 11:42:11 +0000
commite220e1de27028a11d7c4db11324c20de9a52cde5 (patch)
tree4d688262a901faea60d1a6880fb43a1c5341d501 /src
parentd2a57911f9d76396c28b781615a19c1dd9fe03c2 (diff)
STAT->stat
Diffstat (limited to 'src')
-rw-r--r--src/gns/gnunet-bcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gnunet-bcd.c b/src/gns/gnunet-bcd.c
index 681b30d2d..c34372b17 100644
--- a/src/gns/gnunet-bcd.c
+++ b/src/gns/gnunet-bcd.c
@@ -234,7 +234,7 @@ access_handler_callback(void *cls,
GNUNET_free(tmp);
return MHD_NO;
}
- GNUNET_break(0 == STAT(deffile, &st));
+ GNUNET_break(0 == stat(deffile, &st));
if (NULL ==
(response = MHD_create_response_from_fd((size_t)st.st_size, fd)))
{
@@ -451,7 +451,7 @@ run(void *cls,
GNUNET_free(fn);
return;
}
- if (0 != STAT(fn, &st))
+ if (0 != stat(fn, &st))
{
GNUNET_log_strerror_file(GNUNET_ERROR_TYPE_ERROR, "open", fn);
GNUNET_free(fn);