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 2008/07/25 02:35:11 UTC
svn commit: r679636 -
/incubator/couchdb/trunk/src/mochiweb/mochiweb_response.erl
Author: damien
Date: Thu Jul 24 17:35:11 2008
New Revision: 679636
URL: http://svn.apache.org/viewvc?rev=679636&view=rev
Log:
Fix for problem with Safari and mochiweb.
Modified:
incubator/couchdb/trunk/src/mochiweb/mochiweb_response.erl
Modified: incubator/couchdb/trunk/src/mochiweb/mochiweb_response.erl
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/src/mochiweb/mochiweb_response.erl?rev=679636&r1=679635&r2=679636&view=diff
==============================================================================
--- incubator/couchdb/trunk/src/mochiweb/mochiweb_response.erl (original)
+++ incubator/couchdb/trunk/src/mochiweb/mochiweb_response.erl Thu Jul 24 17:35:11 2008
@@ -50,8 +50,7 @@
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.