summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsfeed_update5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfeed_update b/sfeed_update
index cdb6f67..307d264 100755
--- a/sfeed_update
+++ b/sfeed_update
@@ -39,10 +39,9 @@ log() {
# fetch a feed via HTTP/HTTPS etc.
# fetch(name, url, feedfile)
fetch() {
- # fail on redirects, hide User-Agent, timeout is 15 seconds,
- # -z for If-Modified-Since.
+ # fail on redirects, hide User-Agent, timeout is 15 seconds.
curl -L --max-redirs 0 -H "User-Agent:" -f -s -m 15 \
- -z "$3" "$2" 2>/dev/null
+ "$2" 2>/dev/null
}
# convert encoding from one encoding to another.