Making the webserver IPv6 capable.
[darkstat] / http.h
diff --git a/http.h b/http.h
index 01d9405..f366d5b 100644 (file)
--- a/http.h
+++ b/http.h
@@ -8,7 +8,7 @@
 #include <sys/select.h>
 #include <netinet/in.h>
 
-void http_init(const in_addr_t bindaddr, const unsigned short bindport,
+void http_init(const char * bindaddr, const unsigned short bindport,
    const int max_conn);
 void http_fd_set(fd_set *recv_set, fd_set *send_set, int *max_fd,
    struct timeval *timeout, int *need_timeout);