diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-11-28 12:38:06 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-11-28 12:38:06 +0200 |
commit | a0e9f37c170c6947928676e9d870bd3d7d74a189 (patch) | |
tree | ec991276efeaa603d6b66735eccd5dd9039f779a /src/ban.c | |
parent | 86411752caf12649c48ec741afa89471ca9243ee (diff) | |
download | varnish-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |