From a6f255cb1dbeeed7e9b7c8f2a2b22de3a5c6028b Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 23 Feb 2011 22:21:55 +0100 Subject: Fix indefinite loop --- src/uca.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/uca.c b/src/uca.c index e3daebb..cab02ec 100644 --- a/src/uca.c +++ b/src/uca.c @@ -74,6 +74,7 @@ int32_t uca_get_property_id(const char *property_name) while (property_map[i] != NULL) { if (!strcmp(property_map[i], property_name)) return i; + i++; } return UCA_PROP_INVALID; } -- cgit v1.2.3