mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
@@ -1,17 +1,17 @@
|
||||
--- a/gio/gthreadedresolver.c
|
||||
+++ b/gio/gthreadedresolver.c
|
||||
@@ -869,6 +869,8 @@ do_lookup_records (GTask *task,
|
||||
records = g_resolver_records_from_res_query (lrd->rrname, rrtype, answer->data, len, herr, &error);
|
||||
g_byte_array_free (answer, TRUE);
|
||||
@@ -871,6 +871,8 @@ do_lookup_records (GTask *task,
|
||||
|
||||
#ifdef HAVE_RES_NQUERY
|
||||
|
||||
+#ifdef HAVE_RES_NQUERY
|
||||
+
|
||||
#if defined(HAVE_RES_NDESTROY)
|
||||
res_ndestroy (&res);
|
||||
#elif defined(HAVE_RES_NCLOSE)
|
||||
@@ -877,6 +879,8 @@ do_lookup_records (GTask *task,
|
||||
#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"
|
||||
#endif
|
||||
@@ -881,6 +883,8 @@ do_lookup_records (GTask *task,
|
||||
|
||||
#endif /* HAVE_RES_NQUERY */
|
||||
|
||||
+#endif
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user