diff options
| -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; | 
