[gdm] Remove spurious null check in print statement



commit a824ee3a2e3d7d3e72dd8ddfafb33c96e2b08622
Author: Ray Strode <rstrode redhat com>
Date:   Wed Jan 13 12:32:23 2010 -0500

    Remove spurious null check in print statement

 common/gdm-address.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/common/gdm-address.c b/common/gdm-address.c
index ce87d98..390ef87 100644
--- a/common/gdm-address.c
+++ b/common/gdm-address.c
@@ -437,7 +437,7 @@ add_local_addrinfo (GList **list)
         hints.ai_family = AF_UNSPEC;
         hints.ai_flags = AI_CANONNAME;
 
-        g_debug ("GdmAddress: looking up hostname: %s", hostbuf ? hostbuf : "(null)");
+        g_debug ("GdmAddress: looking up hostname: %s", hostbuf);
         result = NULL;
         if (getaddrinfo (hostbuf, NULL, &hints, &result) != 0) {
                 g_debug ("%s: Could not get address from hostname!", "gdm_peek_local_address_list");



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