add response (with html + css)

This commit is contained in:
2024-11-27 11:33:14 +01:00
parent dc4ef7c7d5
commit 3a6c8ad9a3
11 changed files with 91 additions and 48 deletions

View File

@@ -38,7 +38,8 @@ bucket_t *hm_lookup(bucket_t *bucket, int sockfd) {
if (bucket[index].sockfd != sockfd) {
bucket_t *p;
for (p = bucket[index].next; p != NULL && p->sockfd != sockfd; p = p->next);
for (p = bucket[index].next; p != NULL && p->sockfd != sockfd; p = p->next)
;
return p;
} else {
return &bucket[index];