summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_db.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_db.erl b/src/couchdb/couch_db.erl
index 05b584a5..8d671ea2 100644
--- a/src/couchdb/couch_db.erl
+++ b/src/couchdb/couch_db.erl
@@ -367,7 +367,7 @@ doc_flush_binaries(Doc, Fd) ->
end,
{{0,0}, 0}),
{Fd, NewStreamPointer, Len};
- Bin when is_binary(Bin), size(Bin) > 0 ->
+ Bin when is_binary(Bin) ->
{ok, StreamPointer} = couch_stream:write(OutputStream, Bin),
{Fd, StreamPointer, size(Bin)}
end,