summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2016-03-19 11:58:22 +0100
committerMarcus Meissner <marcus@jet.franken.de>2016-03-19 11:58:22 +0100
commit756c6d66b5d7e5c077f8d568454052c3fa2f3295 (patch)
tree12fd61de6d4d57ebd2476b5a0e556c989f98bd0f
parent4d4e61c4a6a585be46c81c6dfcb9d71b2bca0776 (diff)
downloadlibgphoto2-756c6d66b5d7e5c077f8d568454052c3fa2f3295.tar.gz
1 more gp_log_remove checks
-rw-r--r--libgphoto2_port/test/test-gp-port.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgphoto2_port/test/test-gp-port.c b/libgphoto2_port/test/test-gp-port.c
index 304545398..91d4eef5c 100644
--- a/libgphoto2_port/test/test-gp-port.c
+++ b/libgphoto2_port/test/test-gp-port.c
@@ -64,6 +64,10 @@ main (int argc, char **argv)
printf ("id3 not found?\n");
return 1;
}
+ if (GP_ERROR_BAD_PARAMETERS != gp_log_remove_func (id3)) {
+ printf ("id3 was found?\n");
+ return 1;
+ }
gp_log_add_func (GP_LOG_DATA, log_func, NULL);