journal-gatewayd: fix offset

I was checking something when writing the patch and
committed this by mistake.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2016-01-20 10:12:18 -05:00
parent 16bd1e98dd
commit da0a9a3305
+1 -1
View File
@@ -700,7 +700,7 @@ static int request_handler_file(
if (fstat(fd, &st) < 0)
return mhd_respondf(connection, MHD_HTTP_INTERNAL_SERVER_ERROR, "Failed to stat file: %m\n");
response = MHD_create_response_from_fd_at_offset64(st.st_size, fd, MHD_VERSION);
response = MHD_create_response_from_fd_at_offset64(st.st_size, fd, 0);
if (!response)
return respond_oom(connection);