make ddsperf polling/waitset mode selectable again
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
d700657cb7
commit
a7c7ac54c3
1 changed files with 1 additions and 1 deletions
|
@ -1493,7 +1493,7 @@ static int string_int_map_lookup (const struct string_int_map_elem *elems, const
|
||||||
for (size_t i = 0; elems[i].name; i++)
|
for (size_t i = 0; elems[i].name; i++)
|
||||||
{
|
{
|
||||||
if (strcmp (elems[i].name, str) == 0)
|
if (strcmp (elems[i].name, str) == 0)
|
||||||
return elems[match].value;
|
return elems[i].value;
|
||||||
else if (len >= 3 && strlen (elems[i].name) >= 3 && strncmp (elems[i].name, str, len) == 0)
|
else if (len >= 3 && strlen (elems[i].name) >= 3 && strncmp (elems[i].name, str, len) == 0)
|
||||||
{
|
{
|
||||||
if (match == SIZE_MAX)
|
if (match == SIZE_MAX)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue