From 4fd155cc619a08011b9ff3fe80238eb5724d3823 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sun, 5 Jan 2020 20:58:37 +0000 Subject: Correct a comment. --- functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions.c') diff --git a/functions.c b/functions.c index 54e7390..2b039e0 100644 --- a/functions.c +++ b/functions.c @@ -396,7 +396,7 @@ void updategreetings(char *greeting001, char *greeting002, char *greeting003, ch // TODO - Use this wherever we are calculating the position (various places) instead of // duplicating code. int arrindex(struct client *clients, int clientfd) { - // Find the client in the clients array and make sure they are authenticated + // Find the client in the clients array for (int i = 0; i < MAXCLIENTS; i++) { if (clients[i].fd == clientfd) { return i; -- cgit v1.2.3