diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-09-04 13:49:46 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-09-04 13:49:46 +0200 |
commit | 0e7966127623f98c3bd591bc5497fad7a13bcba9 (patch) | |
tree | 154b9b2b496b32bee70fd387bfdc2a56877d1991 | |
parent | d490379a0860b78882564610e87a726c69e7da24 (diff) |
Remote host should be remote name in commands_get().
-rw-r--r-- | commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |