You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/02/12 07:21:36 UTC
[04/50] [abbrv] mochiweb commit: updated refs/heads/import-master to
3a54dbf
Fix for problem with Safari and mochiweb.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@679636 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/commit/e75e12b8
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/tree/e75e12b8
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/diff/e75e12b8
Branch: refs/heads/import-master
Commit: e75e12b8b6f60fb564c2c7d59075c19eacecdba4
Parents: 8b80f9f
Author: Damien F. Katz <da...@apache.org>
Authored: Fri Jul 25 00:35:11 2008 +0000
Committer: Damien F. Katz <da...@apache.org>
Committed: Fri Jul 25 00:35:11 2008 +0000
----------------------------------------------------------------------
mochiweb_response.erl | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/blob/e75e12b8/mochiweb_response.erl
----------------------------------------------------------------------
diff --git a/mochiweb_response.erl b/mochiweb_response.erl
index d69c672..6285c4c 100644
--- a/mochiweb_response.erl
+++ b/mochiweb_response.erl
@@ -50,8 +50,7 @@ write_chunk(Data) ->
case Request:get(version) of
Version when Version >= {1, 1} ->
Length = iolist_size(Data),
- send(io_lib:format("~.16b\r\n", [Length])),
- send([Data, <<"\r\n">>]);
+ send([io_lib:format("~.16b\r\n", [Length]), Data, <<"\r\n">>]);
_ ->
send(Data)
end.