aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/hostlist_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/hostlist_table.c')
-rw-r--r--ui/gtk/hostlist_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/hostlist_table.c b/ui/gtk/hostlist_table.c
index 34f43a11ef..5669510395 100644
--- a/ui/gtk/hostlist_table.c
+++ b/ui/gtk/hostlist_table.c
@@ -169,7 +169,7 @@ hostlist_sort_column(GtkTreeModel *model,
switch(data_column){
case ENDP_COLUMN_ADDR: /* Address */
- return(CMP_ADDRESS(&host1->myaddress, &host2->myaddress));
+ return(cmp_address(&host1->myaddress, &host2->myaddress));
case ENDP_COLUMN_PORT: /* (Port) */
CMP_INT(host1->port, host2->port);
#ifdef HAVE_GEOIP