diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-08-26 22:53:22 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-08-26 22:53:22 +0200 |
commit | 297d480ba91b45f4145932024bfde48c37ebf539 (patch) | |
tree | b8c7401f3f6fdcf8eb9f6246a6352ff2313ddb4e | |
parent | e301eb7510e0e9911022f23c8533ff09a74f944b (diff) |
Really fixed find command regression.
-rw-r--r-- | commands.c | 2 | ||||
-rw-r--r-- | server_communication.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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; |