summaryrefslogtreecommitdiff
path: root/functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'functions.c')
-rw-r--r--functions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.c b/functions.c
index 2b039e0..10e71a1 100644
--- a/functions.c
+++ b/functions.c
@@ -404,6 +404,7 @@ int arrindex(struct client *clients, int clientfd) {
}
// Something went wrong, we didn't find it
+ // TODO - Don't return 0 since 0 is a valid array index, return -1 and have callers check for that.
return 0;
}