summaryrefslogtreecommitdiff
path: root/control_commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'control_commands.c')
-rw-r--r--control_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/control_commands.c b/control_commands.c
index f8f3a54..0e5658a 100644
--- a/control_commands.c
+++ b/control_commands.c
@@ -53,7 +53,7 @@ static void commands_find(GSocketConnection *connection, const gchar *cmd) {
if(temp == NULL) {
continue;
}
- for(gint i = 1; i < g_strv_length(temp); i++) {
+ for(gint i = 0; i < g_strv_length(temp); i++) {
if(strlen(temp[i]) == 0) {
break;
}