[Pkg-bluetooth-commits] r759 - /packages/bluez-utils/trunk/debian/patches/007_always_default_passkey_agent.patch

filippo at users.alioth.debian.org filippo at users.alioth.debian.org
Mon Oct 6 14:21:25 UTC 2008


Author: filippo
Date: Mon Oct  6 14:21:25 2008
New Revision: 759

URL: http://svn.debian.org/wsvn/pkg-bluetooth/?sc=1&rev=759
Log:
fix whitespace/tab

Modified:
    packages/bluez-utils/trunk/debian/patches/007_always_default_passkey_agent.patch

Modified: packages/bluez-utils/trunk/debian/patches/007_always_default_passkey_agent.patch
URL: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez-utils/trunk/debian/patches/007_always_default_passkey_agent.patch?rev=759&op=diff
==============================================================================
--- packages/bluez-utils/trunk/debian/patches/007_always_default_passkey_agent.patch (original)
+++ packages/bluez-utils/trunk/debian/patches/007_always_default_passkey_agent.patch Mon Oct  6 14:21:25 2008
@@ -1,20 +1,20 @@
---- test/passkey-agent.c
-+++ test/passkey-agent.c
+--- test/passkey-agent.c.orig	2008-10-06 16:15:04.000000000 +0200
++++ test/passkey-agent.c	2008-10-06 16:15:23.000000000 +0200
 @@ -310,7 +310,7 @@
-    printf("Bluetooth passkey agent ver %s\n\n", VERSION);
-
-    printf("Usage:\n"
--       "\tpasskey-agent [--default] [--path agent-path] <passkey> [address]\n"
-+       "\tpasskey-agent [--path agent-path] <passkey>\n"
-        "\n");
+ 	printf("Bluetooth passkey agent ver %s\n\n", VERSION);
+ 
+ 	printf("Usage:\n"
+-		"\tpasskey-agent [--default] [--path agent-path] <passkey> [address]\n"
++		"\tpasskey-agent [--path agent-path] <passkey>\n"
+ 		"\n");
  }
-
+ 
 @@ -327,7 +327,7 @@
-    struct sigaction sa;
-    DBusConnection *conn;
-    char match_string[128], default_path[128], *agent_path = NULL;
--   int opt, use_default = 0;
-+   int opt, use_default = 1;
-
-    snprintf(default_path, sizeof(default_path),
-                "/org/bluez/passkey_agent_%d", getpid());
+ 	struct sigaction sa;
+ 	DBusConnection *conn;
+ 	char match_string[128], default_path[128], *agent_path = NULL;
+-	int opt, use_default = 0;
++	int opt, use_default = 1;
+ 
+ 	snprintf(default_path, sizeof(default_path),
+ 				"/org/bluez/passkey_agent_%d", getpid());




More information about the Pkg-bluetooth-commits mailing list