couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r679636 - /incubator/couchdb/trunk/src/mochiweb/mochiweb_response.erl
Date Fri, 25 Jul 2008 00:35:11 GMT
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.



Mime
View raw message