ref: bafa7673addfe26f7f28b449a61dc9860843005c
parent: 687eead069518fa64d6791c42eab9b09496a9cbb
author: Paul Brossier <piem@piem.org>
date: Sat Feb 22 11:38:48 EST 2014
examples/parse_args.h: enable hop_size == buffer_size
--- a/examples/parse_args.h
+++ b/examples/parse_args.h
@@ -242,8 +242,8 @@
} else if ((sint_t)buffer_size < 2) {
errmsg("Error: got buffer_size %d, but can not be < 2\n", buffer_size);
usage ( stderr, 1 );
- } else if ((sint_t)buffer_size < (sint_t)hop_size + 1) {
- errmsg("Error: hop size (%d) is larger than or equal to win size (%d)\n",
+ } else if ((sint_t)buffer_size < (sint_t)hop_size) {
+ errmsg("Error: hop size (%d) is larger than win size (%d)\n",
hop_size, buffer_size);
usage ( stderr, 1 );
}