couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [5/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/6637c7fc
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/6637c7fc
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/6637c7fc

Branch: refs/heads/1.2.x
Commit: 6637c7fcaff6b586bd603207d88f3eb9bb6912c5
Parents: a315675
Author: Robert Newson <rnewson@apache.org>
Authored: Wed Dec 19 00:46:23 2012 +0000
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed Dec 19 01:29:57 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/6637c7fc/src/couchdb/couch_httpd.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
index 0be7126..58f5ec6 100644
--- a/src/couchdb/couch_httpd.erl
+++ b/src/couchdb/couch_httpd.erl
@@ -746,7 +746,7 @@ start_jsonp() ->
     case get(jsonp) of
         no_jsonp -> [];
         [] -> [];
-        CallBack -> CallBack ++ "("
+        CallBack -> ["/* CouchDB */", CallBack, "("]
     end.
 
 end_jsonp() ->


Mime
View raw message