X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Frequestq.c;h=41517d91102094413ad5140b6e361ac4bbf77f0e;hp=02a2689dd5fccd2c6ef811dc6129332e995527a0;hb=896b145fa7a02199bfc3e8aa824c018b9d7cbf98;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c diff --git a/src/requestq.c b/src/requestq.c index 02a2689..41517d9 100644 --- a/src/requestq.c +++ b/src/requestq.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2011 Index Data * See the file LICENSE for details. */ /** @@ -9,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 +#endif #include @@ -75,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;