Created
May 31, 2011 17:00
-
-
Save Vagabond/1000881 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/riak_kv_pb_socket.erl b/src/riak_kv_pb_socket.erl | |
index c9b7ace..dfb6eb2 100644 | |
--- a/src/riak_kv_pb_socket.erl | |
+++ b/src/riak_kv_pb_socket.erl | |
@@ -367,6 +367,8 @@ default_timeout() -> | |
%% Convert a vector clock to erlang | |
erlify_rpbvc(undefined) -> | |
vclock:fresh(); | |
+erlify_rpbvc(<<>>) -> | |
+ vclock:fresh(); | |
erlify_rpbvc(PbVc) -> | |
binary_to_term(zlib:unzip(PbVc)). | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment