diff options
author | Luke Bratch <luke@bratch.co.uk> | 2020-01-05 20:58:37 +0000 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2020-01-05 20:58:37 +0000 |
commit | 4fd155cc619a08011b9ff3fe80238eb5724d3823 (patch) | |
tree | edb3a3bfcbbf479253c4d1577bd4a70d5c9d6767 | |
parent | 886629c16b9a24099f0e9cce5a5c92b3c901685b (diff) |
Correct a comment.
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | functions.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -24,3 +24,5 @@ Sometimes replaymode = "lastspoke" will replay the last message you sent if you Can memory usage be reduced further? (e.g. better channel struct management) Ability to load new certificate whilst running. + +Disconnecting IP address announced is not always correct. 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; |