Commit 0b99d8cc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Add stub httpd_ServerIP when httpd is not compiled

parent aff2dc6f
......@@ -2449,7 +2449,9 @@ int httpd_UrlCatch( httpd_url_t *a, int b, httpd_callback_t c,
httpd_callback_sys_t *d ){ return 0; }
void httpd_UrlDelete( httpd_url_t *a ){}
char *httpd_ClientIP( httpd_client_t *a ){ return 0; }
char* httpd_ClientIP( httpd_client_t *cl, char *psz_ip ) { return NULL; }
char* httpd_ServerIP( httpd_client_t *cl, char *psz_ip ) { return NULL; }
void httpd_ClientModeStream( httpd_client_t *a ){}
void httpd_ClientModeBidir( httpd_client_t *a ){}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment