diff options
author | Hans Ulrich Niedermann <gp@n-dimensional.de> | 2001-10-26 21:47:03 +0000 |
---|---|---|
committer | Hans Ulrich Niedermann <gp@n-dimensional.de> | 2001-10-26 21:47:03 +0000 |
commit | b867be45e6b9376c93145f76ef295e92e9ab1c22 (patch) | |
tree | 094f7fbbdb7cf3a4f597e64015beec1bfe675dea /tests/test-gphoto2.c | |
parent | e62797f8b28dd9e9830b287bb3edd2a5a13af464 (diff) | |
download | libgphoto2-b867be45e6b9376c93145f76ef295e92e9ab1c22.tar.gz |
replaced exit() by return() in main()
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2783 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'tests/test-gphoto2.c')
-rw-r--r-- | tests/test-gphoto2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-gphoto2.c b/tests/test-gphoto2.c index 43f36389b..f3d3accaf 100644 --- a/tests/test-gphoto2.c +++ b/tests/test-gphoto2.c @@ -2,7 +2,7 @@ #include <stdio.h> -#define CHECK(f) {int res = f; if (res < 0) {printf ("ERROR: %s\n", gp_result_as_string (res)); exit (1);}} +#define CHECK(f) {int res = f; if (res < 0) {printf ("ERROR: %s\n", gp_result_as_string (res)); return (1);}} int main (int argc, char *argv []) |