diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-04-27 14:17:18 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-04-27 14:17:18 +0000 |
commit | 999a1b2c1ff51119806d16430adbc5d7677ac4c4 (patch) | |
tree | fe6a3f259455a3a7b0a6492c2aa6fa802944ca38 /network/connection.c | |
parent | 37cf1720b4b90bf2ad23b07d89c641959dcd9cab (diff) |
Update network API documentation.
Diffstat (limited to 'network/connection.c')
-rw-r--r-- | network/connection.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/network/connection.c b/network/connection.c index e3b85929..2bbd3e60 100644 --- a/network/connection.c +++ b/network/connection.c @@ -104,6 +104,7 @@ static gboolean bnep_connect_cb(GIOChannel *chan, GIOCondition cond, gsize r; int sk; DBusMessage *reply, *signal; + const char *pdev; if (cond & G_IO_NVAL) return FALSE; @@ -164,6 +165,9 @@ static gboolean bnep_connect_cb(GIOChannel *chan, GIOCondition cond, reply = dbus_message_new_method_return(nc->msg); + pdev = nc->dev; + dbus_message_append_args(reply, DBUS_TYPE_STRING, &pdev, + DBUS_TYPE_INVALID); send_message_and_unref(nc->conn, reply); nc->state = CONNECTED; |