summaryrefslogtreecommitdiff
path: root/listen.c
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-06-03 10:46:16 +0200
committerOskar <[email protected]>2024-06-03 10:46:16 +0200
commitcf86eea3ef47ce4444b99edff866a7d9836bd763 (patch)
treeb4807c241595755035557b44001bc053e513917c /listen.c
parent4333fba71bbdadfe078aa7ebbe9194c6fc35af22 (diff)
udp client-DGRAM
Diffstat (limited to 'listen.c')
-rw-r--r--listen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/listen.c b/listen.c
index 5749ea0..f85c2c2 100644
--- a/listen.c
+++ b/listen.c
@@ -15,7 +15,7 @@
#define __FAIL EXIT_FAILURE
#define BACKLOG 2
-int main () {
+int main (void) {
int sockfd = -1; // socket fd
int gai_result; // result from getaddrinfo