Diff between d8d19199e87b4619e0599e56dd66cfdffc6e7496 and f49508460508b6d85a254846793d22ee27e0f167

Changed Files

File Additions Deletions Status
obexd/plugins/pbap.c +1 -1 modified

Full Patch

diff --git a/obexd/plugins/pbap.c b/obexd/plugins/pbap.c
index 0356ae7..ab1d9ce 100644
--- a/obexd/plugins/pbap.c
+++ b/obexd/plugins/pbap.c
@@ -301,7 +301,7 @@ static void query_result(const char *buffer, size_t bufsize, int vcards,
 
 	pbap->obj->lastpart = lastpart;
 
-	if (vcards <= 0) {
+	if (vcards < 0) {
 		obex_object_set_io_flags(pbap->obj, G_IO_ERR, -ENOENT);
 		return;
 	}