summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-09-04 13:49:46 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-09-04 13:49:46 +0200
commit0e7966127623f98c3bd591bc5497fad7a13bcba9 (patch)
tree154b9b2b496b32bee70fd387bfdc2a56877d1991
parentd490379a0860b78882564610e87a726c69e7da24 (diff)
Remote host should be remote name in commands_get().
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
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;
}