diff options
Diffstat (limited to 'ucad.c')
-rw-r--r-- | ucad.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |