You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2013/12/19 22:52:21 UTC

git commit: updated refs/heads/1843-bc-fix-welcome-message to d41a265

Updated Branches:
  refs/heads/1843-bc-fix-welcome-message [created] d41a2656d


CouchDB version lives with couch_server


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/d41a2656
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d41a2656
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/d41a2656

Branch: refs/heads/1843-bc-fix-welcome-message
Commit: d41a2656d822238eadac6bf9ac04d7d360d0470e
Parents: d260381
Author: Jan Lehnardt <ja...@apache.org>
Authored: Thu Dec 19 22:52:03 2013 +0100
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Thu Dec 19 22:52:03 2013 +0100

----------------------------------------------------------------------
 src/chttpd/src/chttpd_misc.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/d41a2656/src/chttpd/src/chttpd_misc.erl
----------------------------------------------------------------------
diff --git a/src/chttpd/src/chttpd_misc.erl b/src/chttpd/src/chttpd_misc.erl
index 5e8299c..a730801 100644
--- a/src/chttpd/src/chttpd_misc.erl
+++ b/src/chttpd/src/chttpd_misc.erl
@@ -34,7 +34,7 @@ handle_welcome_req(Req) ->
 handle_welcome_req(#httpd{method='GET'}=Req, WelcomeMessage) ->
     send_json(Req, {[
         {couchdb, WelcomeMessage},
-        {version, list_to_binary(couch:version())},
+        {version, list_to_binary(couch_server:get_version())},
         {bigcouch, get_version()}
     ]});
 handle_welcome_req(Req, _) ->