summaryrefslogtreecommitdiff
path: root/camlibs/st2205
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2010-12-29 21:50:43 +0000
committerMarcus Meissner <marcus@jet.franken.de>2010-12-29 21:50:43 +0000
commit1498680d05f1f00202fa1bd37bed192607ae855a (patch)
treeac46132a2f9579619daae0f7fc83a209eef68936 /camlibs/st2205
parentb36a56cbb1f0de1a0b715f4c137b0cd1a6b2907a (diff)
downloadlibgphoto2-1498680d05f1f00202fa1bd37bed192607ae855a.tar.gz
report error in the logfile without GD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13469 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/st2205')
-rw-r--r--camlibs/st2205/library.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/camlibs/st2205/library.c b/camlibs/st2205/library.c
index e7c6d5a55..e1cb8b458 100644
--- a/camlibs/st2205/library.c
+++ b/camlibs/st2205/library.c
@@ -242,6 +242,7 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename,
gdFree (gdpng);
return ret;
#else
+ gp_log(GP_LOG_ERROR,"ax203", "GD decompression not supported - no libGD present during build");
return GP_ERROR_NOT_SUPPORTED;
#endif
}
@@ -389,6 +390,7 @@ put_file_func (CameraFilesystem *fs, const char *folder, const char *name,
free (out_name);
return ret;
#else
+ gp_log(GP_LOG_ERROR,"ax203", "GD compression not supported - no libGD present during build");
return GP_ERROR_NOT_SUPPORTED;
#endif
}