Diff between 6833a03caeed7c683d4b4e0cdac23d9d7526ee01 and 9c7db6921f6f7cf76738bd1a17a7e9a40596fcf6
Changed Files
| File | Additions | Deletions | Status |
| obexd/src/phonebook.c | +2 | -2 | modified |
Full Patch
diff --git a/obexd/src/phonebook.c b/obexd/src/phonebook.c
index ab97b97..9ddb7f7 100644
--- a/obexd/src/phonebook.c
+++ b/obexd/src/phonebook.c
@@ -144,10 +144,10 @@ int phonebook_pullvcardentry(struct phonebook_context *context, gchar *objname,
void phonebook_return(struct phonebook_context *context,
char *buf, int size)
{
- DBG("context %p", context);
-
struct obex_session *session;
+ DBG("context %p", context);
+
session = pbap_get_session(context);
if (buf == NULL || size == 0) {