diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2017-04-07 14:27:55 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2017-04-07 14:27:55 +0200 |
commit | 014f4b8346baadf9537cc714490102b1ee5626a1 (patch) | |
tree | 2f7a36d7a3ac30fe0f6d0e42b283bf21af87ad67 /ucad.c | |
parent | 172f7ec44ee2f5d317641ad3905af869b1893e85 (diff) | |
download | uca-net-014f4b8346baadf9537cc714490102b1ee5626a1.tar.gz uca-net-014f4b8346baadf9537cc714490102b1ee5626a1.tar.bz2 uca-net-014f4b8346baadf9537cc714490102b1ee5626a1.tar.xz uca-net-014f4b8346baadf9537cc714490102b1ee5626a1.zip |
ucad: print error if serve returns unexpectedly
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); |