summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2014-08-19 11:56:19 -0500
committerPaul J. Davis <paul.joseph.davis@gmail.com>2014-08-19 11:56:32 -0500
commita853c32c5a3e5e353d169af7f4cf831f78d9ee1a (patch)
tree3cba8a8bcdebcdeef3ec1adeec76c5ea982104d6
parent7d64200b19066fd07d993c1ad1af8d1c9bb87f21 (diff)
downloadcouchdb-a853c32c5a3e5e353d169af7f4cf831f78d9ee1a.tar.gz
Return ok for pattern matching in client code
-rw-r--r--src/rexi.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rexi.erl b/src/rexi.erl
index b38c149ee..69fbd7709 100644
--- a/src/rexi.erl
+++ b/src/rexi.erl
@@ -217,7 +217,8 @@ stream_last(Msg) ->
%% the worker pid and doesn't wait for a response from the controller.
stream_last(Msg, Timeout) ->
maybe_init_stream(Timeout),
- rexi:reply(Msg).
+ rexi:reply(Msg),
+ ok.
%% @equiv stream_ack(Client, 1)
stream_ack(Client) ->