[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS Update: mystuff



Log Message:
-----------
Changes adopted upstream, nuke

Removed Files:
-------------
    mystuff/www/haproxy/patches:
        patch-haproxy_c

Revision Data
-------------
--- www/haproxy/patches/patch-haproxy_c
+++ /dev/null
@@ -1,48 +0,0 @@
-$OpenBSD$
---- haproxy.c.orig	Fri Sep  8 09:52:45 2006
-+++ haproxy.c	Fri Sep  8 09:53:51 2006
-@@ -1095,7 +1095,7 @@ void Alert(char *fmt, ...) {
- 	va_start(argp, fmt);
- 
- 	gettimeofday(&tv, NULL);
--	tm=localtime(&tv.tv_sec);
-+	tm=localtime((time_t *)&tv.tv_sec);
- 	fprintf(stderr, "[ALERT] %03d/%02d%02d%02d (%d) : ",
- 		tm->tm_yday, tm->tm_hour, tm->tm_min, tm->tm_sec, (int)getpid());
- 	vfprintf(stderr, fmt, argp);
-@@ -1117,7 +1117,7 @@ void Warning(char *fmt, ...) {
- 	va_start(argp, fmt);
- 
- 	gettimeofday(&tv, NULL);
--	tm=localtime(&tv.tv_sec);
-+	tm=localtime((time_t *)&tv.tv_sec);
- 	fprintf(stderr, "[WARNING] %03d/%02d%02d%02d (%d) : ",
- 		tm->tm_yday, tm->tm_hour, tm->tm_min, tm->tm_sec, (int)getpid());
- 	vfprintf(stderr, fmt, argp);
-@@ -1417,7 +1417,7 @@ void send_log(struct proxy *p, int level
-     gettimeofday(&tv, NULL);
-     if (tv.tv_sec != tvsec || dataptr == NULL) {
- 	/* this string is rebuild only once a second */
--	struct tm *tm = localtime(&tv.tv_sec);
-+	struct tm *tm = localtime((time_t *)&tv.tv_sec);
- 	tvsec = tv.tv_sec;
- 
- 	hdr_len = snprintf(logmsg, sizeof(logmsg),
-@@ -3539,7 +3539,7 @@ void sess_log(struct session *s) {
- 	(s->data_source != DATA_SRC_STATS) ?
- 	(s->srv != NULL) ? s->srv->id : "<NOSRV>" : "<STATS>" : "-";
- 
--    tm = localtime(&s->logs.tv_accept.tv_sec);
-+    tm = localtime((time_t *)&s->logs.tv_accept.tv_sec);
-     if (p->to_log & LW_REQ) {
- 	char tmpline[MAX_SYSLOG_LEN], *h;
- 	int hdr;
-@@ -9737,7 +9737,7 @@ void init(int argc, char **argv) {
-      * won't be missing memory if we want to send alerts under OOM conditions.
-      */
-     tv_now(&now);
--    localtime(&now.tv_sec);
-+    localtime((time_t *)&now.tv_sec);
-     start_date = now;
- 
-     /* initialize the log header encoding map : '{|}"#' should be encoded with


Main Menu:

Site Tools:


Here, spammer, have some addresses.