X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fquery.c;h=82adbddb1562e0925646f9dd03d6ef4a3a796f44;hb=HEAD;hp=4eba88871f651c921fbf727206868c9b2f009e3e;hpb=514c20aa99cd2f29c7e5da1e263ab7e81e3a9ff3;p=adns.git diff --git a/src/query.c b/src/query.c index 4eba888..7d537d5 100644 --- a/src/query.c +++ b/src/query.c @@ -5,12 +5,8 @@ * - query submission and cancellation (user-visible and internal) */ /* - * This file is part of adns, which is - * Copyright (C) 1997-2000,2003,2006,2014-2016,2020 Ian Jackson - * Copyright (C) 2014 Mark Wooding - * Copyright (C) 1999-2000,2003,2006 Tony Finch - * Copyright (C) 1991 Massachusetts Institute of Technology - * (See the file INSTALL for full details.) + * This file is part of adns, which is Copyright Ian Jackson + * and contributors (see the file INSTALL for full details). * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -284,7 +280,7 @@ int adns_submit(adns_state ads, typei= adns__findtype(type); if (!typei) return ENOSYS; - r= gettimeofday(&now,0); if (r) goto x_errno; + r= adns__gettimeofday(ads,&now); if (r) goto x_errno; qu= query_alloc(ads,typei,type,flags,now); if (!qu) goto x_errno; qu->ctx.ext= context;