summaryrefslogtreecommitdiffstats
path: root/template.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-11 10:53:58 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-11 10:53:58 +0000
commit3f08e1f7264357d8f5e123cb0e1e93a37b69c42b (patch)
tree2c0c82f870aa753e0c578b41255c6eb9950b5d7b /template.c
parent969f2f7a2069707b34cea9cecb97f6f53244750d (diff)
downloadrsyslog-3f08e1f7264357d8f5e123cb0e1e93a37b69c42b.tar.gz
rsyslog-3f08e1f7264357d8f5e123cb0e1e93a37b69c42b.tar.xz
rsyslog-3f08e1f7264357d8f5e123cb0e1e93a37b69c42b.zip
moving towards autotools build system - config.h include forgotten & now
fixed
Diffstat (limited to 'template.c')
-rw-r--r--template.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/template.c b/template.c
index 1f51e225..19857866 100644
--- a/template.c
+++ b/template.c
@@ -3,6 +3,8 @@
* This code is placed under the GPL.
* begun 2004-11-17 rgerhards
*/
+#include "config.h"
+
#ifdef __FreeBSD__
#define BSD
#endif
@@ -669,6 +671,8 @@ void tplPrintList(void)
case tplFmtRFC3339Date:
dprintf("[Format as RFC3339-Date] ");
break;
+ default:
+ dprintf("[INVALID eDateFormat %d] ", pTpe->data.field.eDateFormat);
}
switch(pTpe->data.field.eCaseConv) {
case tplCaseConvNo: