summaryrefslogtreecommitdiff
path: root/sfeed_web.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2017-04-27 13:49:31 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2017-04-27 13:49:31 +0200
commit3151fc001cd5b980064afac8a1ce6a11526c4ab6 (patch)
treebc61ac404fbc5cadaa757cc88617a6b155a2303e /sfeed_web.c
parent52c2768cf52358915d8659a60ca430eecbebb656 (diff)
simplify pledge stub
Diffstat (limited to 'sfeed_web.c')
-rw-r--r--sfeed_web.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sfeed_web.c b/sfeed_web.c
index 58cc58c..525bd84 100644
--- a/sfeed_web.c
+++ b/sfeed_web.c
@@ -78,10 +78,8 @@ xmlattr(XMLParser *p, const char *tag, size_t taglen, const char *name,
int
main(int argc, char *argv[])
{
-#ifdef USE_PLEDGE
if (pledge("stdio", NULL) == -1)
err(1, "pledge");
-#endif
if (argc > 1)
strlcpy(basehref, argv[1], sizeof(basehref));