From 30018d4fd7735b5117d42214f2921433cfdb0f26 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 31 May 2020 18:22:11 +0200 Subject: runserver: replace u_int16_t with uint16_t --- src/blogc-runserver/httpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/blogc-runserver') diff --git a/src/blogc-runserver/httpd.c b/src/blogc-runserver/httpd.c index 4dd4cad..ad6de19 100644 --- a/src/blogc-runserver/httpd.c +++ b/src/blogc-runserver/httpd.c @@ -237,7 +237,7 @@ br_httpd_get_ip(int af, const struct sockaddr *addr) } -static u_int16_t +static uint16_t br_httpd_get_port(int af, const struct sockaddr *addr) { in_port_t port = 0; @@ -285,7 +285,7 @@ br_httpd_run(const char *host, const char *port, const char *docroot, int ai_family = 0; char *final_host = NULL; - u_int16_t final_port = 0; + uint16_t final_port = 0; for (rp = result; rp != NULL; rp = rp->ai_next) { final_host = br_httpd_get_ip(rp->ai_family, rp->ai_addr); -- cgit v1.2.3-18-g5258