[glib/wip/tingping/localhost-is-local] Apply suggestion to gio/tests/mock-resolver.c



commit 1d9e3377c5873228368ac4ca01651ff87b56d7f1
Author: Patrick Griffis <tingping tingping se>
Date:   Tue Oct 8 18:15:18 2019 +0000

    Apply suggestion to gio/tests/mock-resolver.c

 gio/tests/mock-resolver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/tests/mock-resolver.c b/gio/tests/mock-resolver.c
index 68469f556..3a7532134 100644
--- a/gio/tests/mock-resolver.c
+++ b/gio/tests/mock-resolver.c
@@ -144,7 +144,7 @@ lookup_by_name (GResolver    *resolver,
 {
   GList *result = NULL;
   GTask *task = g_task_new (resolver, cancellable, NULL, NULL);
-  g_task_set_task_data (task, GUINT_TO_POINTER(G_RESOLVER_NAME_LOOKUP_FLAGS_DEFAULT), NULL);
+  g_task_set_task_data (task, GUINT_TO_POINTER (G_RESOLVER_NAME_LOOKUP_FLAGS_DEFAULT), NULL);
   g_task_run_in_thread_sync (task, do_lookup_by_name);
   result = g_task_propagate_pointer (task, error);
   g_object_unref (task);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]