You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2012/12/19 02:58:32 UTC

[5/10] git commit: Include a comment before jsonp output

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 <rn...@apache.org>
Authored: Wed Dec 19 00:46:23 2012 +0000
Committer: Robert Newson <rn...@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() ->