Diff between 9278cee741211c602678d007eae867c6bfebd6ea and 7f803206541e93cbd07f57c78a76080de8e6d078

Changed Files

File Additions Deletions Status
obexd/client/session.c +1 -1 modified

Full Patch

diff --git a/obexd/client/session.c b/obexd/client/session.c
index db37a86..f8aae5d 100644
--- a/obexd/client/session.c
+++ b/obexd/client/session.c
@@ -929,7 +929,7 @@ guint obc_session_setpath(struct obc_session *session, const char *path,
 	data = g_new0(struct setpath_data, 1);
 	data->func = func;
 	data->user_data = user_data;
-	data->remaining = g_strsplit(path, "/", 3);
+	data->remaining = g_strsplit(path, "/", 0);
 
 	p = pending_request_new(session, NULL, setpath_complete, data);