diff options
author | Nicolas 'Pixel' Noble <pixel@nobis-crew.org> | 2013-01-20 00:07:48 -0800 |
---|---|---|
committer | Nicolas 'Pixel' Noble <pixel@nobis-crew.org> | 2013-01-20 00:07:48 -0800 |
commit | fd77a467478938e0b0fd7b821d516a83827a3a61 (patch) | |
tree | 62683896f28e131eaec9597c3617cc7157ead227 /src | |
parent | 8a37c7ce67e049feafc981e6386477497102ac93 (diff) |
Slightly better printf formats for 32 and 64 bits values.
Diffstat (limited to 'src')
-rw-r--r-- | src/HttpServer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpServer.cc b/src/HttpServer.cc index 23af486..357bb26 100644 --- a/src/HttpServer.cc +++ b/src/HttpServer.cc @@ -221,7 +221,7 @@ void Balau::HttpWorker::sendError(int error, const char * msg, const char * deta "Content-Type: text/html; charset=UTF-8\r\n" "Connection: keep-alive\r\n" "Server: %s\r\n" -"Content-Length: %lli\r\n", +"Content-Length: %" PRIu64 "\r\n", error, errorMsg, m_server->getServerName().to_charp(), length); for (String & str : extraHeaders) headers += str + "\r\n"; |