Minor include updates to make Windows happy
[yaz-moved-to-github.git] / src / zget.c
index 03018f7..a8765df 100644 (file)
@@ -1,8 +1,8 @@
 /*
- * Copyright (c) 1995-2004, Index Data.
+ * Copyright (C) 1995-2005, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Id: zget.c,v 1.7 2004-12-20 23:35:42 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;
 }