summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-02-23 22:21:55 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-02-23 22:21:55 +0100
commita6f255cb1dbeeed7e9b7c8f2a2b22de3a5c6028b (patch)
tree9ebc0f616ad58191bf1239dcc43853eb208c1e40
parentf67ca1ef8a7e220084980847c5c466a9ca1b05b1 (diff)
downloaduca-a6f255cb1dbeeed7e9b7c8f2a2b22de3a5c6028b.tar.gz
uca-a6f255cb1dbeeed7e9b7c8f2a2b22de3a5c6028b.tar.bz2
uca-a6f255cb1dbeeed7e9b7c8f2a2b22de3a5c6028b.tar.xz
uca-a6f255cb1dbeeed7e9b7c8f2a2b22de3a5c6028b.zip
Fix indefinite loop
-rw-r--r--src/uca.c1
1 files changed, 1 insertions, 0 deletions
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;
}