aboutsummaryrefslogtreecommitdiff
path: root/src/ban.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2014-11-28 12:38:06 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2014-11-28 12:38:06 +0200
commita0e9f37c170c6947928676e9d870bd3d7d74a189 (patch)
treeec991276efeaa603d6b66735eccd5dd9039f779a /src/ban.c
parent86411752caf12649c48ec741afa89471ca9243ee (diff)
downloadvarnish-mib-a0e9f37c170c6947928676e9d870bd3d7d74a189.tar.gz
varnish-mib-a0e9f37c170c6947928676e9d870bd3d7d74a189.tar.bz2
Clean up debugging output, document debugging tokens.
Diffstat (limited to 'src/ban.c')
-rw-r--r--src/ban.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ban.c b/src/ban.c
index 3023838..70ca541 100644
--- a/src/ban.c
+++ b/src/ban.c
@@ -153,7 +153,7 @@ banTable_load(netsnmp_cache *cache, void *vmagic)
char *p;
struct VSM_data *vd;
- DEBUGMSGTL(("varnish_ban", "reloading ban table"));
+ DEBUGMSGTL(("varnish_ban", "reloading ban table\n"));
vd = varnish_get_vsm_data();
rc = vcli_connect(vd, &conn);
if (rc != SNMP_ERR_NOERROR)
@@ -263,7 +263,7 @@ banTable_load(netsnmp_cache *cache, void *vmagic)
p = q;
}
vcli_disconnect(&conn);
- DEBUGMSGTL(("varnish_ban", "loaded %ld ban entries", idx));
+ DEBUGMSGTL(("varnish_ban", "loaded %ld ban entries\n", idx));
return 0;
}
@@ -273,7 +273,7 @@ banTable_free(netsnmp_cache *cache, void *vmagic)
netsnmp_tdata *table = (netsnmp_tdata *) vmagic;
netsnmp_tdata_row *row;
- DEBUGMSGTL(("varnish_ban", "freeing ban table"));
+ DEBUGMSGTL(("varnish_ban", "freeing ban table\n"));
while ((row = netsnmp_tdata_row_first(table))) {
struct banTable_entry *entry = row->data;
free(entry->banExpression);

Return to:

Send suggestions and report system problems to the System administrator.