git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0a4cb86
)
rfc1123Time: increase buffer size for time string
author
Jeff Garzik
<jeff@garzik.org>
Sat, 9 Apr 2011 02:50:14 +0000 (22:50 -0400)
committer
Jeff Garzik
<jgarzik@pobox.com>
Sat, 9 Apr 2011 02:50:14 +0000 (22:50 -0400)
Make sure we can accomodate all possibilities.
rpc.cpp
patch
|
blob
|
history
diff --git
a/rpc.cpp
b/rpc.cpp
index
a7b3b80
..
d527f9b
100644
(file)
--- 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);