From 0e7966127623f98c3bd591bc5497fad7a13bcba9 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sat, 4 Sep 2010 13:49:46 +0200 Subject: Remote host should be remote name in commands_get(). --- commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.c b/commands.c index fab8b18..d182996 100644 --- a/commands.c +++ b/commands.c @@ -194,7 +194,7 @@ static void commands_get(GSocketConnection *connection, const gchar *cmd, GError for(GSList *node = servers; node; node = g_slist_next(node)) { struct server *temp = node->data; - if(g_strcasecmp(temp->host, data[3]) == 0) { + if(g_strcasecmp(temp->name, data[3]) == 0) { server = temp; break; } -- cgit v1.2.3