[syslog-ng] [PATCH (3.4)] center: Fix a few syntax errors.

Gergely Nagy algernon at balabit.hu
Mon Jan 2 16:53:36 CET 2012


Fix two syntax errors (an unclosed comment, and a
double-closing-bracer) that came in with a previous patch.

Signed-off-by: Gergely Nagy <algernon at balabit.hu>
---
 lib/center.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/center.c b/lib/center.c
index 986ab75..2fc3554 100644
--- a/lib/center.c
+++ b/lib/center.c
@@ -320,6 +320,7 @@ log_center_instantiate_process_pipe_line(LogCenter *self, LogProcessRule *rule)
  *
  * The next member pointer is not holding a reference, but can be
  * assumed to be kept alive as long as the configuration is running.
+ */
 LogPipe *
 log_center_init_pipe_line(LogCenter *self, LogConnection *conn, GlobalConfig *cfg, gboolean toplevel, gboolean flow_controlled_parent)
 {
@@ -468,7 +469,6 @@ log_center_init_pipe_line(LogCenter *self, LogConnection *conn, GlobalConfig *cf
             log_multiplexer_add_next_hop(fork_mpx, sub_pipe);
             break;
           }
-          }
         default:
           {
             g_assert_not_reached();
-- 
1.7.7.3




More information about the syslog-ng mailing list