From cf6797b68e9d4124fc5adc27d4cc0a8b63ed8203 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Sat, 5 Mar 2022 08:42:14 +0000 Subject: [PATCH] Update: Fixed a warning --- net/sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sock.c b/net/sock.c index b11bc0d..1bf20c6 100644 --- a/net/sock.c +++ b/net/sock.c @@ -716,7 +716,7 @@ sock_t sock_get_server_socket (int port, const char *sinterface) { struct sockaddr_storage sa; struct addrinfo hints, *res, *ai; - char service [10]; + char service [16]; int sock; if (port < 0)