Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
[yaz-moved-to-github.git] / src / requestq.c
index 1290b59..f4b6c55 100644 (file)
@@ -1,8 +1,6 @@
-/*
- * Copyright (C) 1995-2005, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2010 Index Data
  * See the file LICENSE for details.
- *
- * $Id: requestq.c,v 1.4 2005-06-25 15:46:04 adam Exp $
  */
 /**
  * \file requestq.c
@@ -11,6 +9,9 @@
  * We also use the request-freelist to store encoding buffers, rather than
  * freeing and xmalloc'ing them on each cycle.
  */
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdlib.h>
 
@@ -77,8 +78,6 @@ request *request_get(request_q *q)
         r->size_response = 0;
     }
     r->q = q;
-    r->len_refid = 0;
-    r->refid = 0;
     r->gdu_request = 0;
     r->apdu_request = 0;
     r->request_mem = 0;
@@ -99,6 +98,7 @@ void request_release(request *r)
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab