diff options
author | Jeff Garzik <jeff@garzik.org> | 2011-04-08 22:50:14 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2011-04-08 22:50:14 -0400 |
commit | d98beea894c82063362011bb7f44a09995fd6047 (patch) | |
tree | f77a4354434a6f47795eafc645921b8763b0ba66 | |
parent | 0a4cb8697645b61f781421aa10cf3f7841f776e5 (diff) |
rfc1123Time: increase buffer size for time string
Make sure we can accomodate all possibilities.
-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); |