mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
20e3279693
- fix "chunk is already free": nasty (and free of side effects in the actual code) but works (patch-reference.C) - fix refcounting (now my links page shows the tophits again... finally) Approved by: maintainer
12 lines
347 B
C
12 lines
347 B
C
--- reference.C.orig Fri Feb 18 21:11:01 2005
|
|
+++ reference.C Fri Feb 18 21:17:18 2005
|
|
@@ -305,7 +305,7 @@
|
|
string getRFC822Time (long int time){
|
|
time_t li = time;
|
|
struct tm * t = localtime(&li);
|
|
- char formatedTime[100];
|
|
+ static char formatedTime[100];
|
|
strftime(formatedTime, 100, "%a, %d %b %Y %T %Z", t);
|
|
return formatedTime;
|
|
}
|