summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-23 06:16:51 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-23 06:16:51 +0100
commitf017e03445ff8c2d79f076d7627360c679f4899f (patch)
tree90a4ce217b0c68b6d285921187b7acd5e4fc4c11
parent1c37c56a5dada50883d61c26e4d1e75d61fccd6e (diff)
downloadobexd-f017e03445ff8c2d79f076d7627360c679f4899f.tar.gz
Move debug statement after variable declaration
-rw-r--r--src/phonebook.c4
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) {