diff options
| author | Jeff Garzik <[email protected]> | 2011-04-08 22:50:14 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2011-04-08 22:50:14 -0400 |
| commit | d98beea894c82063362011bb7f44a09995fd6047 (patch) | |
| tree | f77a4354434a6f47795eafc645921b8763b0ba66 /rpc.cpp | |
| parent | Fixed issue 76 -- RPC error where addresses from addressbook's sending tab ap... (diff) | |
| download | discoin-d98beea894c82063362011bb7f44a09995fd6047.tar.xz discoin-d98beea894c82063362011bb7f44a09995fd6047.zip | |
rfc1123Time: increase buffer size for time string
Make sure we can accomodate all possibilities.
Diffstat (limited to 'rpc.cpp')
| -rw-r--r-- | rpc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1486,7 +1486,7 @@ string HTTPPost(const string& strMsg, const map<string,string>& mapRequestHeader string rfc1123Time() { - char buffer[32]; + char buffer[64]; time_t now; time(&now); struct tm* now_gmt = gmtime(&now); |