From 3126e48f1dcdd5684ef3677ac4cd6b1cc099f107 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 16 Jan 2005 21:56:42 +0000 Subject: [PATCH] Do not use exit --- src/zget.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/zget.c b/src/zget.c index b96be30..a8765df 100644 --- a/src/zget.c +++ b/src/zget.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: zget.c,v 1.8 2005-01-15 19:47:14 adam Exp $ + * $Id: zget.c,v 1.9 2005-01-16 21:56:42 adam Exp $ */ /** * \file zget.c @@ -494,8 +494,7 @@ Z_APDU *zget_APDU(ODR o, int which) r->u.duplicateDetectionResponse = zget_DuplicateDetectionResponse(o); break; default: - fprintf(stderr, "Bad APDU-type to zget_APDU"); - exit(1); + return 0; } return r; } -- 1.7.10.4