You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
642 B

  1. --- a/gio/gthreadedresolver.c
  2. +++ b/gio/gthreadedresolver.c
  3. @@ -869,6 +869,8 @@ do_lookup_records (GTask *task,
  4. records = g_resolver_records_from_res_query (lrd->rrname, rrtype, answer->data, len, herr, &error);
  5. g_byte_array_free (answer, TRUE);
  6. +#ifdef HAVE_RES_NQUERY
  7. +
  8. #if defined(HAVE_RES_NDESTROY)
  9. res_ndestroy (&res);
  10. #elif defined(HAVE_RES_NCLOSE)
  11. @@ -877,6 +879,8 @@ do_lookup_records (GTask *task,
  12. #error "Your platform has res_ninit() but not res_nclose() or res_ndestroy(). Please file a bug at https://bugzilla.gnome.org/enter_bug.cgi?product=glib"
  13. #endif
  14. +#endif
  15. +
  16. #else
  17. DNS_STATUS status;