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 aefb175..ce0e26b 100644
--- a/uca-net-camera.c
+++ b/uca-net-camera.c
@@ -328,7 +328,7 @@ request_get_property (GSocketConnection *connection, const gchar *name, GValue *
return FALSE;
if (reply.type != request.type) {
- if (*error != NULL)
+ if (error != NULL)
/* FIXME: replace with correct error codes */
*error = g_error_new_literal (G_FILE_ERROR, G_FILE_ERROR_NOENT, "Reply does not match request");
return FALSE;