Mercurial > blahgd > experimental
changeset 1018:8117b33fb54b
req: fix request log file format string on LP64
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Thu, 09 Apr 2020 21:13:52 -0400 |
parents | 173eaab07272 |
children | 7e96bbd20556 |
files | req.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/req.c Fri Mar 15 11:51:11 2019 -0400 +++ b/req.c Thu Apr 09 21:13:52 2020 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2019 Josef 'Jeff' Sipek <jeffpc@josefsipek.net> + * Copyright (c) 2014-2020 Josef 'Jeff' Sipek <jeffpc@josefsipek.net> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -125,8 +125,8 @@ now = gettime(); snprintf(fname, sizeof(fname), "%s/requests/%"PRIu64".%09"PRIu64"-%011u", - str_cstr(config.data_dir), now / 1000000000llu, - now % 1000000000llu, scgi->id); + str_cstr(config.data_dir), now / 1000000000u, + now % 1000000000u, scgi->id); /* * allocate a log entry & store some misc info