kore

a fork of the worlds most advanced web framework
Log | Files | Refs | README | LICENSE

commit 8dd075e71c00a9d294d6f7ee15923ded6fa7830d
parent e3efeb946518b45b014e0b2614966d3148972580
Author: Joris Vink <joris@coders.se>
Date:   Wed, 28 Nov 2018 14:22:27 +0100

style

Diffstat:
Msrc/cli.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/cli.c b/src/cli.c @@ -1163,7 +1163,8 @@ cli_build_asset(char *fpath, struct dirent *dp) cli_file_writef(out, "};\n\n"); cli_file_writef(out, "const u_int32_t asset_len_%s_%s = %" PRIu32 ";\n", name, ext, (u_int32_t)st.st_size); - cli_file_writef(out, "const time_t asset_mtime_%s_%s = %" PRI_TIME_T ";\n", + cli_file_writef(out, + "const time_t asset_mtime_%s_%s = %" PRI_TIME_T ";\n", name, ext, st.st_mtime); if (bopt->flavor_nohttp == 0) {