X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Frequestq.c;h=41517d91102094413ad5140b6e361ac4bbf77f0e;hp=7b06a39d36e7cd3d73998df8c60f632a2d97f288;hb=896b145fa7a02199bfc3e8aa824c018b9d7cbf98;hpb=ee6ab2ee3a9ee1a8c65d7272ec7fba1d886f5af0 diff --git a/src/requestq.c b/src/requestq.c index 7b06a39..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-2008 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; @@ -97,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