aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daemon/syslogd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/syslogd.c b/daemon/syslogd.c
index 0a3b2b6..165896a 100644
--- a/daemon/syslogd.c
+++ b/daemon/syslogd.c
@@ -291,7 +291,7 @@ static struct string* get_hostname( struct sockaddr_in* addr )
{
GList *next_item = item->next;
- TRACE_2( "delete old entry %s\n", h->host );
+ TRACE_2( "delete old entry %s\n", h->host->gstr->str );
string_release( h->host );
g_free( h );
hostnames = g_list_delete_link( hostnames, item );
@@ -305,7 +305,7 @@ static struct string* get_hostname( struct sockaddr_in* addr )
/* move entry to the beginning of the list */
item->data = hostnames->data;
hostnames->data = h;
- TRACE_LEAVE( "done; found cached entry: %s\n", ret );
+ TRACE_LEAVE( "done; found cached entry: %s\n", ret->gstr->str );
return ret;
}
item = item->next;
@@ -333,7 +333,7 @@ use_addr:
}
hostnames = g_list_prepend( hostnames, new_hostname );
ret = string_addref( new_hostname->host );
- TRACE_LEAVE( "done; ret=%s\n", ret );
+ TRACE_LEAVE( "done; ret=%s\n", ret->gstr->str );
return ret;
}