Skip to content

Commit

Permalink
Update comments and remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzieongit committed Feb 17, 2025
1 parent 1ec6f14 commit 01ee8ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions metrics.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
const int metrics_inhibit_zero = 1;

/**
* list of events for accepting connections
* list of connection accepting file descriptors
*/
struct metrics_acceptlist {
struct metrics_acceptlist* next;
Expand Down Expand Up @@ -67,9 +67,6 @@ metrics_http_callback(struct evhttp_request *req, void *p);
#ifdef BIND8_STATS
static void
process_stats(struct evbuffer* buf, xfrd_state_type* xfrd, int peek);

static void
do_stats(struct evbuffer *buf, xfrd_state_type *xfrd, int peek);
#endif /*BIND8_STATS*/

struct daemon_metrics*
Expand Down
1 change: 0 additions & 1 deletion nsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,6 @@ main(int argc, char *argv[])
}
#ifdef USE_METRICS
if(nsd.options->metrics_enable) {
/* read ssl keys while superuser and outside chroot */
if(!(nsd.metrics = daemon_metrics_create(nsd.options)))
error("could not perform metrics server setup");
}
Expand Down

0 comments on commit 01ee8ae

Please sign in to comment.