Fix global variable name hidden by local variables in gio/tests/resolver.c

This commit is contained in:
Loic Le Page 2022-01-19 14:41:52 +01:00 committed by Philip Withnall
parent db76697aee
commit 13710c3699

View File

@ -616,7 +616,7 @@ do_async_connectable (GSocketAddressEnumerator *enumerator)
} }
static void static void
do_connectable (const char *arg, gboolean synchronous, guint count) do_connectable (const char *arg, gboolean synch, guint count)
{ {
char **parts; char **parts;
GSocketConnectable *connectable; GSocketConnectable *connectable;
@ -660,7 +660,7 @@ do_connectable (const char *arg, gboolean synchronous, guint count)
{ {
enumerator = g_socket_connectable_enumerate (connectable); enumerator = g_socket_connectable_enumerate (connectable);
if (synchronous) if (synch)
do_sync_connectable (enumerator); do_sync_connectable (enumerator);
else else
do_async_connectable (enumerator); do_async_connectable (enumerator);