diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-16 18:08:27 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-16 18:08:30 +0200 |
commit | 3ed8c5f5ea27a444b411dc6f81c259caaece5d23 (patch) | |
tree | da03a2d38a9f8444d332b617d325877463c06e87 /tests/dtls | |
parent | 60a179ad36225ba0383fbd68a11129b32c43bf90 (diff) | |
download | gnutls-3ed8c5f5ea27a444b411dc6f81c259caaece5d23.tar.gz |
tests: dtls-stress: fix debug argument accounting
It was not being considered when it was not the last argument.
Diffstat (limited to 'tests/dtls')
-rw-r--r-- | tests/dtls/dtls-stress.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/dtls/dtls-stress.c b/tests/dtls/dtls-stress.c index a580d65bdf..a07af8cc91 100644 --- a/tests/dtls/dtls-stress.c +++ b/tests/dtls/dtls-stress.c @@ -1439,7 +1439,8 @@ int main(int argc, const char *argv[]) if (*end == '\0') { debug = level; arg++; - } + } else + debug++; } else { debug++; } |