From d72aab9a665f8392d897854203b75379145754ca Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Mon, 10 Nov 2014 11:04:48 +0200 Subject: [PATCH] android/client: Fix argument count in create_bond() --- android/client/if-bt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/client/if-bt.c b/android/client/if-bt.c index 48aff1be8..7325242a0 100644 --- a/android/client/if-bt.c +++ b/android/client/if-bt.c @@ -628,7 +628,7 @@ static void create_bond_p(int argc, const char **argv) VERIFY_ADDR_ARG(2, &addr); #if ANDROID_VERSION >= PLATFORM_VER(5, 0, 0) - if (argc < 3) + if (argc < 4) transport = BT_TRANSPORT_UNKNOWN; else transport = atoi(argv[3]); -- 2.47.3