Skip to content

Commit

Permalink
Pass service param to use on force encoding.
Browse files Browse the repository at this point in the history
Signed-off-by: Akayeshmantha <[email protected]>
  • Loading branch information
Akayeshmantha committed Aug 5, 2020
1 parent 5aa17c2 commit 08b8208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/unixFileService.c
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ static int serveUnixFileContents(HttpService *service, HttpResponse *response) {
}
}
else if (!strcmp(request->method, methodGET)) {
respondWithUnixFileContentsWithAutocvtMode(NULL, response, routeFileName, TRUE, 0);
respondWithUnixFileContentsWithAutocvtMode(service, response, routeFileName, TRUE, 0);
}
else if (!strcmp(request->method, methodDELETE)) {
if (doesFileExist(routeFileName) == true) {
Expand Down

0 comments on commit 08b8208

Please sign in to comment.