From 77cd9a7241fd588f4be0d8c26f8aacf3a68f5dc5 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Sat, 12 Jan 2008 14:54:41 +0000 Subject: Ulogd2: fix some indenting The following patch fixes some indenting and typo in various ulogd2 files. Eric Leblond --- src/ulogd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/ulogd.c b/src/ulogd.c index 853b408..ca5fb06 100644 --- a/src/ulogd.c +++ b/src/ulogd.c @@ -422,8 +422,8 @@ pluginstance_alloc_init(struct ulogd_plugin *pl, char *pi_id, ptr += pi->config_kset->num_ces * sizeof(struct config_entry); memcpy(pi->config_kset->ces, pl->config_kset->ces, - pi->config_kset->num_ces - *sizeof(struct config_entry)); + pi->config_kset->num_ces + * sizeof(struct config_entry)); } } else pi->config_kset = NULL; @@ -653,7 +653,7 @@ static int create_stack(const char *option) plname = equals+1; /* find matching plugin */ - pl = find_plugin(plname); + pl = find_plugin(plname); if (!pl) { ulogd_log(ULOGD_ERROR, "can't find requested plugin " "%s\n", plname); @@ -944,7 +944,7 @@ int main(int argc, char* argv[]) warn_and_exit(daemonize); } if (setegid(gid)) { - ulogd_log(ULOGD_FATAL, "can't sett effective GID %u\n", + ulogd_log(ULOGD_FATAL, "can't set effective GID %u\n", gid); warn_and_exit(daemonize); } -- cgit v1.2.3