From e1d9d0dcddcc3fb44ab2bba0f735ea4e54956d82 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Thu, 3 Jan 2002 11:29:53 +0000 Subject: [PATCH] canon_int_get_disk_name(): fixed default branch canon_int_get_thumbnail(): fixed default branch git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3676 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/canon/canon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/camlibs/canon/canon.c b/camlibs/canon/canon.c index 9fac100f5..95444769d 100644 --- a/camlibs/canon/canon.c +++ b/camlibs/canon/canon.c @@ -548,7 +548,7 @@ canon_int_get_disk_name (Camera *camera) return NULL; } break; - GP_PORT_DEFAULT + GP_PORT_DEFAULT_RETURN(NULL) } if (camera->port->type == GP_PORT_SERIAL) { @@ -1077,7 +1077,7 @@ canon_int_get_thumbnail (Camera *camera, const char *name, int *length) &total_file_size); } break; - GP_PORT_DEFAULT + GP_PORT_DEFAULT_RETURN(NULL) } switch (camera->pl->md->model) {