[gnome-dictionary] Use the appropriate function name



commit ae5152f2631679e45742aae67d608c57bf31ef57
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Apr 11 11:10:03 2017 +0100

    Use the appropriate function name
    
    There's no `gai_strerror()`.

 libgdict/gdict-client-context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgdict/gdict-client-context.c b/libgdict/gdict-client-context.c
index 7781695..6875366 100644
--- a/libgdict/gdict-client-context.c
+++ b/libgdict/gdict-client-context.c
@@ -1088,7 +1088,7 @@ gdict_client_context_lookup_server (GdictClientContext  *context,
                        GDICT_CLIENT_CONTEXT_ERROR_LOOKUP,
                        _("Lookup failed for host ā€œ%sā€: %s"),
                        priv->hostname,
-                       gai_strerror (errno));
+                       g_strerror (errno));
           
           return FALSE;
         }


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