summaryrefslogtreecommitdiffstats
path: root/uca-net-camera.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-02-18 15:40:58 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-02-18 15:40:58 +0100
commitfe6a84608c7064f2a2fe3542481e0655c6f40812 (patch)
treee881a66d2cbb3d51fff5c7096f5b407daf8df2fe /uca-net-camera.c
parent127005ae839abd13c1ba53a719be0500f07fb610 (diff)
downloaduca-net-fe6a84608c7064f2a2fe3542481e0655c6f40812.tar.gz
uca-net-fe6a84608c7064f2a2fe3542481e0655c6f40812.tar.bz2
uca-net-fe6a84608c7064f2a2fe3542481e0655c6f40812.tar.xz
uca-net-fe6a84608c7064f2a2fe3542481e0655c6f40812.zip
Fix segfault for particular reply condition
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;