commit | beae593a00013c08ddfa8b2593f1b6799f793170 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@nokia.com> | Wed Sep 02 17:10:01 2009 +0300 |
committer | Johan Hedberg <johan.hedberg@nokia.com> | Wed Sep 02 17:10:01 2009 +0300 |
tree | ed75586d278c2d791d6998400f84cb44d977ce08 | |
parent | 567a5638318d7106d86a9ac71e188d0b1bec86d7 [diff] |
Fix off-by-one strcmp issue
diff --git a/test/avtest.c b/test/avtest.c index 977c0d0..f360215 100644 --- a/test/avtest.c +++ b/test/avtest.c
@@ -408,7 +408,7 @@ return AVDTP_GET_CONFIGURATION; else if (!strncmp(arg, "open", 4)) return AVDTP_OPEN; - else if (!strncmp(arg, "start", 4)) + else if (!strncmp(arg, "start", 5)) return AVDTP_START; else return atoi(arg);