diff options
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/httpd.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/httpd.cc b/server/src/httpd.cc index 10bd5bb..9349697 100644 --- a/server/src/httpd.cc +++ b/server/src/httpd.cc @@ -77,7 +77,7 @@ static int request_handler(void *cls, time_t now = time(NULL); DEBUG(httpd, "Request time: %s", ctime(&now)); - struct sockaddr *so; + void *so; so = MHD_get_connection_info(con, MHD_CONNECTION_INFO_CLIENT_ADDRESS)->client_addr; char peeraddr[INET_ADDRSTRLEN]; |