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/55ba156f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/55ba156f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/55ba156f

Branch: refs/heads/1.1.x
Commit: 55ba156fd41556e685c22b744fc7be949e642977
Parents: 8cb4878
Author: Robert Newson <[email protected]>
Authored: Wed Dec 19 00:45:56 2012 +0000
Committer: Robert Newson <[email protected]>
Committed: Wed Dec 19 01:23:23 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/55ba156f/src/couchdb/couch_httpd.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
index 7d9c36f..58117b6 100644
--- a/src/couchdb/couch_httpd.erl
+++ b/src/couchdb/couch_httpd.erl
@@ -683,7 +683,7 @@ start_jsonp() ->
     case get(jsonp) of
         no_jsonp -> [];
         [] -> [];
-        CallBack -> CallBack ++ "("
+        CallBack -> ["/* CouchDB */", CallBack, "("]
     end.
 
 end_jsonp() ->

Reply via email to