Diff between b456fffd123290281275418e902a290cfa8f783c and 5e358f18b103236299675b3bad6ebf3b2d675fd7
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 9cc824e..db37a86 100644
--- a/obexd/client/session.c
+++ b/obexd/client/session.c
@@ -934,7 +934,7 @@ guint obc_session_setpath(struct obc_session *session, const char *path,
p = pending_request_new(session, NULL, setpath_complete, data);
/* Relative path */
- if (path[0] != '/') {
+ if (path[0] != '/' && path[0] != 0) {
first = data->remaining[data->index];
data->index++;
}