summaryrefslogtreecommitdiff
path: root/libgphoto2_port/libgphoto2_port/gphoto2-port-result.c
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <gp@n-dimensional.de>2006-09-28 03:04:21 +0000
committerHans Ulrich Niedermann <gp@n-dimensional.de>2006-09-28 03:04:21 +0000
commitc96bda51dd1b005649e0dfb9e9a70fce34d78486 (patch)
tree8458af3bf052e29bd07ac5102ff99ae25f90579e /libgphoto2_port/libgphoto2_port/gphoto2-port-result.c
parent24f5c463e9f29cf69fbc4e51ef4e3e043da4801c (diff)
downloadlibgphoto2-c96bda51dd1b005649e0dfb9e9a70fce34d78486.tar.gz
Consistently use #include <gphoto2/gphoto2-foo.h> everywhere.
This moves the header files to a new subdirectory gphoto2 in both libgphoto2 and libphoto2_port/libgphoto2. All references are adapted appropriately. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9221 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/libgphoto2_port/gphoto2-port-result.c')
-rw-r--r--libgphoto2_port/libgphoto2_port/gphoto2-port-result.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libgphoto2_port/libgphoto2_port/gphoto2-port-result.c b/libgphoto2_port/libgphoto2_port/gphoto2-port-result.c
index a50cb3069..10138f952 100644
--- a/libgphoto2_port/libgphoto2_port/gphoto2-port-result.c
+++ b/libgphoto2_port/libgphoto2_port/gphoto2-port-result.c
@@ -19,7 +19,7 @@
*/
#include "config.h"
-#include <gphoto2-port-result.h>
+#include <gphoto2/gphoto2-port-result.h>
#ifdef ENABLE_NLS
# include <libintl.h>
@@ -64,6 +64,8 @@ gp_port_result_as_string (int result)
return _("Bad parameters");
case GP_ERROR_NOT_SUPPORTED:
return _("Unsupported operation");
+ case GP_ERROR_FIXED_LIMIT_EXCEEDED:
+ return _("Fixed limit exceeded");
case GP_ERROR_TIMEOUT:
return _("Timeout reading from or writing to the port");
case GP_ERROR_IO_SUPPORTED_SERIAL: