From e867166d58d13e41f55da0dd7afff0d038d85328 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 15 Apr 2009 11:12:53 +0200 Subject: [PATCH] apache plugin: Replace C++-style comments. --- src/apache.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/apache.c b/src/apache.c index 4ac56b14..bcc2d260 100644 --- a/src/apache.c +++ b/src/apache.c @@ -272,7 +272,7 @@ static int config (oconfig_item_t *ci) if (lci) { - // create a entry + /* create a entry */ lci->key = "Instance"; lci->values_num = 1; lci->values = (oconfig_value_t *) malloc (lci->values_num * sizeof (oconfig_value_t)); @@ -288,7 +288,7 @@ static int config (oconfig_item_t *ci) } /* int config */ -// initialize curl for each host +/* initialize curl for each host */ static int init_host (apache_t *st) /* {{{ */ { static char credentials[1024]; @@ -385,7 +385,7 @@ static int init (void) static void set_plugin (apache_t *st, value_list_t *vl) { - // if there is no instance name, assume apache + /* if there is no instance name, assume apache */ if ( (0 == strcmp(st->name, "")) ) { sstrncpy (vl->plugin, "apache", sizeof (vl->plugin)); @@ -529,7 +529,7 @@ static int apache_read_host (apache_t *st) break; } - // set the host to localhost if st->host is not specified + /* set the host to localhost if st->host is not specified */ if ( (st->host == NULL) || (0 == strcmp(st->host, "")) ) { st->host = hostname_g; -- 2.11.0