summaryrefslogtreecommitdiff
path: root/android/client
diff options
context:
space:
mode:
Diffstat (limited to 'android/client')
-rw-r--r--android/client/if-hf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/client/if-hf.c b/android/client/if-hf.c
index 26c01393b..269e0295b 100644
--- a/android/client/if-hf.c
+++ b/android/client/if-hf.c
@@ -386,7 +386,7 @@ static void init_p(int argc, const char **argv)
RETURN_IF_NULL(if_hf);
#if ANDROID_VERSION >= PLATFORM_VER(5, 0, 0)
- if (argc < 2)
+ if (argc <= 2)
max_hf_clients = 1;
else
max_hf_clients = atoi(argv[2]);