couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [3/10] git commit: Include a comment before jsonp output
Date Wed, 19 Dec 2012 01:58:32 GMT
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/6429a44b
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/6429a44b
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/6429a44b

Branch: refs/heads/1.3.x
Commit: 6429a44b2b6589c234a519db9e2ac8f61f0a24ae
Parents: c58e2d3
Author: Robert Newson <rnewson@apache.org>
Authored: Wed Dec 19 00:46:45 2012 +0000
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed Dec 19 01:37:58 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/6429a44b/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