summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--commands.c2
-rw-r--r--server_communication.c2
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;