summaryrefslogtreecommitdiffstats
path: root/ucad.c
diff options
context:
space:
mode:
Diffstat (limited to 'ucad.c')
-rw-r--r--ucad.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ucad.c b/ucad.c
index 972afbe..c8499c0 100644
--- a/ucad.c
+++ b/ucad.c
@@ -449,6 +449,7 @@ main (int argc, char **argv)
g_print ("Error setting properties: %s\n", error->message);
goto cleanup_manager;
}
+
if (error != NULL)
g_print ("Error: %s\n", error->message);
@@ -456,6 +457,9 @@ main (int argc, char **argv)
serve (camera, port, &error);
+ if (error != NULL)
+ g_print ("Error: %s\n", error->message);
+
cleanup_camera:
g_object_unref (camera);