From d98beea894c82063362011bb7f44a09995fd6047 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Fri, 8 Apr 2011 22:50:14 -0400 Subject: [PATCH] rfc1123Time: increase buffer size for time string Make sure we can accomodate all possibilities. --- rpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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& mapRequestHeader string rfc1123Time() { - char buffer[32]; + char buffer[64]; time_t now; time(&now); struct tm* now_gmt = gmtime(&now);