aboutsummaryrefslogtreecommitdiffstats
path: root/autoarchive/test-extract.c
diff options
context:
space:
mode:
Diffstat (limited to 'autoarchive/test-extract.c')
-rw-r--r--autoarchive/test-extract.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/autoarchive/test-extract.c b/autoarchive/test-extract.c
index bf5f6cac5..b6721fc04 100644
--- a/autoarchive/test-extract.c
+++ b/autoarchive/test-extract.c
@@ -41,9 +41,7 @@ my_handler_error (AutoarExtract *arextract,
GError *error,
gpointer data)
{
- g_printerr ("\nError: %s\n", error->message);
- g_error_free (error);
- exit (1);
+ g_printerr ("\nError %d: %s\n", error->code, error->message);
}
static void
@@ -51,7 +49,6 @@ my_handler_completed (AutoarExtract *arextract,
gpointer data)
{
g_print ("\nCompleted!\n");
- exit (0);
}
int