aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorverdant <im@verdant.ee>2026-06-09 18:16:16 +0800
committerverdant <im@verdant.ee>2026-06-09 18:16:16 +0800
commit318a1a3ddeb94909c065861040ad959ec31b8709 (patch)
tree85388bbd30168cc09c1f520d550092636f31a700
parentc5f4921a0e990217dabce7ffb1c7439bc3e98afe (diff)
downloadshsd-318a1a3ddeb94909c065861040ad959ec31b8709.tar.gz
shsd-318a1a3ddeb94909c065861040ad959ec31b8709.zip
Remove unused a variable
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 1e5d2ab..dbdaa67 100644
--- a/server.c
+++ b/server.c
@@ -81,7 +81,7 @@ int handle_client(int client_fd, char *buf)
int main(int argc, char **argv)
{
- struct addrinfo hints, *res, *servinfo;
+ struct addrinfo hints, *res;
struct sockaddr_storage their_addr;
socklen_t addr_size;
int sockfd, new_fd;