From 297d480ba91b45f4145932024bfde48c37ebf539 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Thu, 26 Aug 2010 22:53:22 +0200 Subject: Really fixed find command regression. --- commands.c | 2 +- server_communication.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.c b/commands.c index 9b9e543..2cf7909 100644 --- a/commands.c +++ b/commands.c @@ -64,7 +64,7 @@ static void commands_find(GSocketConnection *connection, const gchar *cmd, GErro return; } - gboolean remote = g_strncasecmp(data[0], "rfind", 5) == 0 ? TRUE : FALSE; + gboolean remote = g_strncasecmp(data[0], "findr", 5) == 0 ? FALSE : TRUE; GSList *list = NULL; if(g_ascii_strcasecmp(data[1], "artist") == 0) { diff --git a/server_communication.c b/server_communication.c index e32f6bc..64de9dc 100644 --- a/server_communication.c +++ b/server_communication.c @@ -79,7 +79,7 @@ gchar **server_find(struct server *server, const gchar *type, const gchar *str) } gchar buffer[0x400]; - g_snprintf(buffer, 0x400, "rfind %s %s\nexit\n", type, str); + g_snprintf(buffer, 0x400, "findr %s %s\nexit\n", type, str); g_socket_send(socket, buffer, strlen(buffer), NULL, NULL); gssize size; -- cgit v1.2.3