diff options
-rw-r--r-- | src/phonebook.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/phonebook.c b/src/phonebook.c index ab97b97..9ddb7f7 100644 --- a/src/phonebook.c +++ b/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) { |