From: Victor Wagner Date: Thu, 7 Aug 2008 20:22:40 +0000 (+0000) Subject: Fixed invalid dbus_message_append_args in resolve_bluetooth_name X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=e6efc7f4fc4ccfbe6307425e097f2b73ed49057b;p=oss%2Fbtcli.git Fixed invalid dbus_message_append_args in resolve_bluetooth_name --- diff --git a/Makefile b/Makefile index 8f264eb..4904913 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -BTPASS_VERSION=1.2 +BTPASS_VERSION=1.3 BTPASS_PKG_VERSION=1 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) export BTPASS_VERSION diff --git a/btpasskey/Makefile b/btpasskey/Makefile index 1e65a6b..44ddb4d 100644 --- a/btpasskey/Makefile +++ b/btpasskey/Makefile @@ -1,5 +1,5 @@ # this Makefile is for building btcli it depends on pkg-config libdbus-1-dev (and build-essential) packages -BTPASS_VERSION?=1.2 +BTPASS_VERSION?=1.3 prefix=/usr/local btpasskey: btpasskey.c $(CC) `pkg-config --libs --cflags dbus-1` -g -DDBUS_API_SUBJECT_TO_CHANGE -DVERSION="\"$(BTPASS_VERSION)\"" -o btpasskey btpasskey.c diff --git a/btpasskey/btpasskey.c b/btpasskey/btpasskey.c index 4c5e1b5..452839d 100644 --- a/btpasskey/btpasskey.c +++ b/btpasskey/btpasskey.c @@ -53,7 +53,7 @@ char* resolve_bluetooth_name(DBusConnection *conn,const char *adapter,const cha fprintf(stderr,"dbus_message_new_method_call error\n"); exit(1); } - dbus_message_append_args(msg,DBUS_TYPE_STRING,btaddress,DBUS_TYPE_INVALID); + dbus_message_append_args(msg,DBUS_TYPE_STRING,&btaddress,DBUS_TYPE_INVALID); if (!dbus_connection_send_with_reply(conn, msg, &pending,-1) || NULL==pending) diff --git a/packaging/btpasskey-debian/changelog b/packaging/btpasskey-debian/changelog index eab8373..8d9bdce 100644 --- a/packaging/btpasskey-debian/changelog +++ b/packaging/btpasskey-debian/changelog @@ -1,3 +1,9 @@ +btpasskey (1.3-1) unstable; urgency=low + + * New upstream release + + -- Victor Wagner Sun, 11 Nov 2007 22:22:00 +0300 + btpasskey (1.2-1) unstable; urgency=low * New upstream release