summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfeedrc.54
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeedrc.5 b/sfeedrc.5
index 16e0641..2be5fc9 100644
--- a/sfeedrc.5
+++ b/sfeedrc.5
@@ -166,8 +166,8 @@ file:
.Bd -literal
# fetch(name, url, feedfile)
fetch() {
- # allow for 1 redirect, hide User-Agent, timeout is 15 seconds.
- curl -L --max-redirs 1 -H "User-Agent:" -f -s -m 15 \e
+ # allow for 1 redirect, set User-Agent, timeout is 15 seconds.
+ curl -L --max-redirs 1 -H "User-Agent: sfeed" -f -s -m 15 \e
"$2" 2>/dev/null
}
.Ed