couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [1/10] git commit: Include a comment before jsonp output
Date Wed, 19 Dec 2012 01:58:32 GMT
Updated Branches:
  refs/heads/1.0.x bca923567 -> f5be49631
  refs/heads/1.1.x 731aa6b0c -> 55ba156fd
  refs/heads/1.2.x 53490d915 -> 6637c7fca
  refs/heads/1.3.x 7737b521d -> 6429a44b2
  refs/heads/master a5cabbd4e -> ac20a10e9


Include a comment before jsonp output


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

Branch: refs/heads/master
Commit: ac20a10e9c8ddab103ebe44213c19773fa0183bc
Parents: c98a410
Author: Robert Newson <rnewson@apache.org>
Authored: Wed Dec 19 00:44:02 2012 +0000
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed Dec 19 01:46:47 2012 +0000

----------------------------------------------------------------------
 src/couchdb/couch_httpd.erl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/ac20a10e/src/couchdb/couch_httpd.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
index 9ded36d..3e3415b 100644
--- a/src/couchdb/couch_httpd.erl
+++ b/src/couchdb/couch_httpd.erl
@@ -771,7 +771,7 @@ start_jsonp() ->
     case get(jsonp) of
         no_jsonp -> [];
         [] -> [];
-        CallBack -> CallBack ++ "("
+        CallBack -> ["/* CouchDB */", CallBack, "("]
     end.
 
 end_jsonp() ->


Mime
View raw message