summaryrefslogtreecommitdiffstats
path: root/uca-net-camera.c
diff options
context:
space:
mode:
Diffstat (limited to 'uca-net-camera.c')
-rw-r--r--uca-net-camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uca-net-camera.c b/uca-net-camera.c
index 9750758..31ee926 100644
--- a/uca-net-camera.c
+++ b/uca-net-camera.c
@@ -370,7 +370,7 @@ request_get_property (GSocketConnection *connection, const gchar *name, GValue *
g_value_set_double (value, atof (reply.property_value));
break;
case G_TYPE_BOOLEAN:
- g_value_set_boolean (value, g_strcmp0 (reply.property_value, "TRUE"));
+ g_value_set_boolean (value, g_strcmp0 (reply.property_value, "TRUE") == 0);
break;
case G_TYPE_STRING:
g_value_set_string (value, reply.property_value);