diff options
author | Michael Meckelein <mmeckelein@hq.adiscon.com> | 2004-11-25 10:26:52 +0000 |
---|---|---|
committer | Michael Meckelein <mmeckelein@hq.adiscon.com> | 2004-11-25 10:26:52 +0000 |
commit | 0185bdf2af7d54c72dc57cd2fd89d1d8bf0e94f6 (patch) | |
tree | 07ad76132dc91a87b2dbf2e99035ee7ab541927d /template.c | |
parent | 7720bcded1fe377b3c7defb0ea76dd9aa040c31d (diff) | |
download | rsyslog-0185bdf2af7d54c72dc57cd2fd89d1d8bf0e94f6.tar.gz rsyslog-0185bdf2af7d54c72dc57cd2fd89d1d8bf0e94f6.tar.xz rsyslog-0185bdf2af7d54c72dc57cd2fd89d1d8bf0e94f6.zip |
Added some MySQL stuff
Diffstat (limited to 'template.c')
-rw-r--r-- | template.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -22,9 +22,10 @@ static struct template *tplLast = NULL; /* points to the last element of the tem */ struct templateEntry* tpeConstruct(struct template *pTpl) { + struct templateEntry *pTpe; + assert(pTpl != NULL); - struct templateEntry *pTpe; if((pTpe = calloc(1, sizeof(struct templateEntry))) == NULL) return NULL; |