aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHAMANO Tsukasa <hamano@cuspy.org>2014-06-04 18:53:37 +0900
committerHAMANO Tsukasa <hamano@cuspy.org>2014-06-04 18:53:37 +0900
commitcc228db337e98ecc212f6c5aad9485be8d71e572 (patch)
tree76c19d242024075f6e7b3c29521f4cb9ed0e97ec /src
parentReply to pings (diff)
e_clause error at node_hometree_odbc:get_items/3
Diffstat (limited to 'src')
-rw-r--r--src/node_hometree_odbc.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_hometree_odbc.erl b/src/node_hometree_odbc.erl
index dfb9886f2..9a4a3b2e7 100644
--- a/src/node_hometree_odbc.erl
+++ b/src/node_hometree_odbc.erl
@@ -1317,6 +1317,7 @@ get_items(NodeId, _From,
first = <<"modification@", F/binary>>,
last = <<"modification@", (jlib:i2l(L))/binary>>},
{result, {[raw_to_item(NodeId, RItem) || RItem <- RItems], RsmOut}};
+ [] -> {result, {[], #rsm_out{count = Count}}};
0 -> {result, {[], #rsm_out{count = Count}}}
end;
_ -> {result, {[], none}}