summaryrefslogtreecommitdiffstats
path: root/ulogd.c
diff options
context:
space:
mode:
authorlaforge <laforge>2005-06-24 16:28:56 +0000
committerlaforge <laforge>2005-06-24 16:28:56 +0000
commitd35d9c6c40c8d73db9095f871df10056799678e3 (patch)
treef2c8a21e7723aa58d8fb3d0e7487a6cbf4f0ddb7 /ulogd.c
parent2839a5720db02d5a67b3185f4daa5a655bc22563 (diff)
minor updates
Diffstat (limited to 'ulogd.c')
-rw-r--r--ulogd.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/ulogd.c b/ulogd.c
index 41598a4..4566f55 100644
--- a/ulogd.c
+++ b/ulogd.c
@@ -4,7 +4,7 @@
*
* unified network logging daemon for Linux.
*
- * (C) 2000-2004 by Harald Welte <laforge@gnumonks.org>
+ * (C) 2000-2005 by Harald Welte <laforge@gnumonks.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
@@ -19,8 +19,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id$
- *
* Modifications:
* 14 Jun 2001 Martin Josefsson <gandalf@wlug.westbo.se>
* - added SIGHUP handler for logfile cycling
@@ -441,7 +439,7 @@ pluginstance_alloc_init(struct ulogd_plugin *pl, char *pi_id,
pi->config_kset.num_ces = pl->config_kset->num_ces;
ce_size = pl->config_kset->num_ces*sizeof(struct config_entry);
pi->config_kset.ces = malloc(ce_size);
- if (!pi->configs) {
+ if (!pi->config_kset.ces) {
free(pi);
return NULL;
}
@@ -503,7 +501,7 @@ static int create_stack(char *option)
}
/* allocate */
- pi = ulogd_pluginstance_alloc_init(pl. pi_id, stack);
+ pi = ulogd_pluginstance_alloc_init(pl, pi_id, stack);
if (!pi) {
ulogd_log(ULOGD_ERROR,
"unable to allocate pluginstance for %s\n",