summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2008-07-25 15:57:20 +0000
committerChristopher Lenz <cmlenz@apache.org>2008-07-25 15:57:20 +0000
commitad33fcc53b94140952d7ccad8ed186fa5c59dbe8 (patch)
treeb3b78b62274b9345869124eae53dd5cecf0743d1 /src
parent2f24b8e382bcbb38f1fdc4b21498b3313a78c84c (diff)
Fix to previous commit r679840.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@679843 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_httpd.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
index d0f3c756..49b8e9bc 100644
--- a/src/couchdb/couch_httpd.erl
+++ b/src/couchdb/couch_httpd.erl
@@ -1013,5 +1013,6 @@ negotiate_content_type(Req) ->
end.
server_header() ->
+ OTPVersion = "R" ++ integer_to_list(erlang:system_info(compat_rel)) ++ "B",
[{"Server", "CouchDB/" ++ couch_server:get_version() ++
- " (Erlang OTP/R" ++ erlang:system_info(compat_rel) ++ "B)"}].
+ " (Erlang OTP/" ++ OTPVersion ++ ")"}].