1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- output.c.orig Fri Aug 1 06:34:16 2003
+++ output.c Fri Aug 1 06:33:29 2003
@@ -40,7 +40,7 @@
vsnprintf(buf, sizeof(buf), fmt, v);
//fprintf(stderr,"[DEBUG %d] %s",getpid(),buf);
log(LOG_DEBUG,"[DEBUG %d] %s",getpid(),buf);
- va_end(fmt);
+ va_end(v);
}
}
@@ -57,7 +57,7 @@
openlog(PROGNAME, LOG_PID , config_log_facility);
syslog(config_log_facility | level, "%s", buf);
//closelog();
- va_end(fmt);
+ va_end(v);
}
}
|