chiark / gitweb /
Update wishlist items and add purpose comment to adns.h.
[adns.git] / src / query.c
index f24dbd144cd14486ec0d35f41fa55e960097cb9b..545feec27414567527ef56cae967a72d6bffd568 100644 (file)
@@ -5,7 +5,7 @@
  * - query submission and cancellation (user-visible and internal)
  */
 /*
- *  This file is part of adns, which is Copyright (C) 1997, 1998 Ian Jackson
+ *  This file is part of adns, which is Copyright (C) 1997-1999 Ian Jackson
  *  
  *  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
@@ -300,7 +300,9 @@ void adns__query_done(adns_query qu) {
       return;
     }
     adns__isort(ans->rrs.bytes, ans->nrrs, ans->rrsz,
-               qu->vb.buf, qu->typei->diff_needswap);
+               qu->vb.buf,
+               (int(*)(void*, const void*, const void*))qu->typei->diff_needswap,
+               qu->ads);
   }
 
   parent= qu->parent;