diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-05-06 15:25:01 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-05-06 15:29:16 +0200 |
| commit | 783b182c8fa92674fa609b584c0b187469893ca4 (patch) | |
| tree | a350421cd300a76f3004547793d0a74faadd9c32 /src/rpcprotocol.cpp | |
| parent | qt: periodic translations update (diff) | |
| download | discoin-783b182c8fa92674fa609b584c0b187469893ca4.tar.xz discoin-783b182c8fa92674fa609b584c0b187469893ca4.zip | |
Remove dummy PRIszX macros for formatting
Size specifiers are no longer needed now that we use typesafe tinyformat
for string formatting, instead of the system's sprintf.
No functional changes.
This continues the work in #3735.
Diffstat (limited to 'src/rpcprotocol.cpp')
| -rw-r--r-- | src/rpcprotocol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcprotocol.cpp b/src/rpcprotocol.cpp index 652b14d18..5cbaa535a 100644 --- a/src/rpcprotocol.cpp +++ b/src/rpcprotocol.cpp @@ -92,7 +92,7 @@ string HTTPReply(int nStatus, const string& strMsg, bool keepalive) "HTTP/1.1 %d %s\r\n" "Date: %s\r\n" "Connection: %s\r\n" - "Content-Length: %"PRIszu"\r\n" + "Content-Length: %u\r\n" "Content-Type: application/json\r\n" "Server: bitcoin-json-rpc/%s\r\n" "\r\n" |