aboutsummaryrefslogtreecommitdiff
path: root/rpc.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2011-04-08 22:50:14 -0400
committerJeff Garzik <[email protected]>2011-04-08 22:50:14 -0400
commitd98beea894c82063362011bb7f44a09995fd6047 (patch)
treef77a4354434a6f47795eafc645921b8763b0ba66 /rpc.cpp
parentFixed issue 76 -- RPC error where addresses from addressbook's sending tab ap... (diff)
downloaddiscoin-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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc.cpp b/rpc.cpp
index a7b3b80d9..d527f9b35 100644
--- a/rpc.cpp
+++ b/rpc.cpp
@@ -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);