projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2a5791
)
STAT->stat
author
ng0
<ng0@n0.is>
Mon, 9 Sep 2019 11:42:11 +0000
(11:42 +0000)
committer
ng0
<ng0@n0.is>
Mon, 9 Sep 2019 11:42:11 +0000
(11:42 +0000)
src/gns/gnunet-bcd.c
patch
|
blob
|
history
diff --git
a/src/gns/gnunet-bcd.c
b/src/gns/gnunet-bcd.c
index 681b30d2d98ece7e40fa82537ac5a434364456f4..c34372b17e41bdf7fbb091162b825878cf3730b6 100644
(file)
--- 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);