summaryrefslogtreecommitdiffstats
path: root/test/control.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-03-23 12:35:19 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-03-23 12:35:19 +0100
commitff7f2398283f5059e3b8e0149e0582ee7d30ad21 (patch)
tree598637736b0c8164dabad2c163b01816279f0051 /test/control.c
parent6c822e1dedff95eeb64733e8ae0f7554b01bcd17 (diff)
downloaduca-ff7f2398283f5059e3b8e0149e0582ee7d30ad21.tar.gz
uca-ff7f2398283f5059e3b8e0149e0582ee7d30ad21.tar.bz2
uca-ff7f2398283f5059e3b8e0149e0582ee7d30ad21.tar.xz
uca-ff7f2398283f5059e3b8e0149e0582ee7d30ad21.zip
Use more flexible error codes
Diffstat (limited to 'test/control.c')
-rw-r--r--test/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/control.c b/test/control.c
index 2d954f9..47c2fab 100644
--- a/test/control.c
+++ b/test/control.c
@@ -262,7 +262,7 @@ void fill_tree_store(GtkTreeStore *tree_store, struct uca_camera *cam)
get_first_level_root(tree_store, &iter, tokens[0]);
find_recursively(tree_store, &iter, &child, tokens, 1);
- if (result == UCA_ERR_PROP_INVALID)
+ if (result != UCA_NO_ERROR)
g_sprintf(value_string, "n/a");
int count = 0;