aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/blogc-runserver/httpd.c4
1 files changed, 2 insertions, 2 deletions
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);