diff options
Diffstat (limited to 'sysutils/bsdstats')
-rw-r--r-- | sysutils/bsdstats/Makefile | 1 | ||||
-rw-r--r-- | sysutils/bsdstats/files/300.statistics.in | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/bsdstats/Makefile b/sysutils/bsdstats/Makefile index 71b53c0e0583..23bb6a774ce6 100644 --- a/sysutils/bsdstats/Makefile +++ b/sysutils/bsdstats/Makefile @@ -3,6 +3,7 @@ PORTNAME= bsdstats PORTVERSION= 6.0 +PORTREVISION= 1 CATEGORIES= sysutils DISTFILES= diff --git a/sysutils/bsdstats/files/300.statistics.in b/sysutils/bsdstats/files/300.statistics.in index 8dd3115f2178..9b867b9c0677 100644 --- a/sysutils/bsdstats/files/300.statistics.in +++ b/sysutils/bsdstats/files/300.statistics.in @@ -159,7 +159,7 @@ do_http_request() { if [ -n "${http_header_proxy_auth}" ]; then txt="${txt}${CR}${NL}Proxy-Authorization: ${http_header_proxy_auth}"; fi txt="${txt}${CR}${NL}User-Agent: bsdstats-${CURR_VERSION}" txt="${txt}${CR}${NL}Connection: close" - if [ -n "${content_type}" ]; then txt="${txt}${NL}Content-Type: ${content_type}"; fi + if [ -n "${content_type}" ]; then txt="${txt}${CR}${NL}Content-Type: ${content_type}"; fi if [ -n "${body}" ]; then txt="${txt}${CR}${NL}Content-Length: ${#body}"; fi txt="${txt}${CR}${NL}${CR}${NL}${body}" |