summaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands.c b/commands.c
index 4442a1b..1e59449 100644
--- a/commands.c
+++ b/commands.c
@@ -1,4 +1,4 @@
-#include "server_commands.h"
+#include "commands.h"
#include "music.h"
static void send_404(GSocketConnection *connection) {
@@ -63,7 +63,7 @@ static void commands_list(GSocketConnection *connection, const gchar *cmd) {
g_string_free(string, TRUE);
}
-void server_commands_handle(GSocketConnection *connection, const gchar *cmd) {
+void commands_handle(GSocketConnection *connection, const gchar *cmd) {
g_debug(cmd);
if(g_strncasecmp(cmd, "list", 4) == 0) {
commands_list(connection, cmd);