]> git.sesse.net Git - vlc/commitdiff
Add stub httpd_ServerIP when httpd is not compiled
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 4 Aug 2005 14:45:59 +0000 (14:45 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 4 Aug 2005 14:45:59 +0000 (14:45 +0000)
src/misc/httpd.c

index 66c4bc2afd6bce5cc8bdd0c3716b3745b2e2fc52..88dc42af5f7f0bb54a90909bfda38ee53e81aa71 100644 (file)
@@ -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 ){}