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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/rpc.cpp b/rpc.cpp index a7b3b80..d527f9b 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); -- 1.7.1