aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index fa7aefce7..acaeea986 100644
--- a/src/command.c
+++ b/src/command.c
@@ -1458,13 +1458,13 @@ command_process_list(struct client *client,
ret = command_process(client, cur->data);
DEBUG("command_process_list: command returned %i\n", ret);
if (ret != 0 || client_is_expired(client))
- goto out;
+ break;
else if (list_ok)
client_puts(client, "list_OK\n");
command_list_num++;
cur = cur->next;
}
-out:
+
command_list_num = 0;
return ret;
}