diff options
Diffstat (limited to 'source4/web_server/http.c')
-rw-r--r-- | source4/web_server/http.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/web_server/http.c b/source4/web_server/http.c index 558cc79eb9..bd6efa9262 100644 --- a/source4/web_server/http.c +++ b/source4/web_server/http.c @@ -139,7 +139,8 @@ static int http_readFile(EspHandle handle, const char *path, const char *base_dir) { - struct websrv_context *web = talloc_get_type(handle, struct websrv_context); + struct websrv_context *web = talloc_get_type(handle, + struct websrv_context); int fd = -1; struct stat st; *buf = NULL; @@ -169,12 +170,11 @@ failed: return -1; } -static int http_readFileFromSwatDir(EspHandle handle, - char **buf, - int *len, +static int http_readFileFromSwatDir(EspHandle handle, char **buf, int *len, const char *path) { - return http_readFile(handle, buf, len, path, lp_swat_directory(global_loadparm)); + return http_readFile(handle, buf, len, path, + lp_swat_directory(global_loadparm)); } |