summaryrefslogtreecommitdiffstats
path: root/binding/bluetooth-pbap-binding.c
diff options
context:
space:
mode:
Diffstat (limited to 'binding/bluetooth-pbap-binding.c')
-rw-r--r--binding/bluetooth-pbap-binding.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/binding/bluetooth-pbap-binding.c b/binding/bluetooth-pbap-binding.c
index 13421e5..8274f05 100644
--- a/binding/bluetooth-pbap-binding.c
+++ b/binding/bluetooth-pbap-binding.c
@@ -370,6 +370,7 @@ void contacts(afb_req_t request)
jresp = json_tokener_parse(cached);
} else {
afb_req_fail(request, "no imported contacts", NULL);
+ return;
}
afb_req_success(request, jresp, "contacts");