Skip to content

Commit

Permalink
style fixups
Browse files Browse the repository at this point in the history
Some tabs slipped through in recent commit df8baf8
  • Loading branch information
blblack committed Jan 5, 2024
1 parent 7f5823d commit c68767d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/plugins/extfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ static void plugin_extfile_add_mon_cname(const char* desc V_UNUSED, const char*
}

if (!svc)
log_fatal("plugin_extfile: BUG: did not find expected service_type %s", svc_name);
log_fatal("plugin_extfile: BUG: did not find expected service_type %s", svc_name);

svc->mons = xrealloc_n(svc->mons, svc->num_mons + 1, sizeof(*svc->mons));
extf_mon_t* mon = &svc->mons[svc->num_mons];
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/extmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ static void add_mon_any(const char* desc, const char* svc_name, const char* thin
}

if (!this_mon->svc)
log_fatal("plugin_extmon: BUG: did not find expected service_type %s", svc_name);
log_fatal("plugin_extmon: BUG: did not find expected service_type %s", svc_name);

this_mon->thing = xstrdup(thing);
this_mon->seen_once = false;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/http_status.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ static void plugin_http_status_add_mon_addr(const char* desc, const char* svc_na
}

if (!this_mon->http_svc)
log_fatal("plugin_http_status: BUG: did not find expected service_type %s", svc_name);
log_fatal("plugin_http_status: BUG: did not find expected service_type %s", svc_name);

memcpy(&this_mon->addr, addr, sizeof(this_mon->addr));
if (this_mon->addr.sa.sa_family == AF_INET) {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/null.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static void add_mon_any(const char* svc_name, const unsigned idx)
}

if (!this_svc)
log_fatal("plugin_null: BUG: did not find expected service_type %s", svc_name);
log_fatal("plugin_null: BUG: did not find expected service_type %s", svc_name);

null_mon_t* this_mon = xmalloc(sizeof(*this_mon));
null_mons = xrealloc_n(null_mons, num_mons + 1, sizeof(*null_mons));
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/static.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ static void add_mon_any(const char* svc_name, const unsigned idx)
}

if (!this_svc)
log_fatal("plugin_static: BUG: did not find expected service_type %s", svc_name);
log_fatal("plugin_static: BUG: did not find expected service_type %s", svc_name);

static_mon_t* this_mon = xmalloc(sizeof(*this_mon));
static_mons = xrealloc_n(static_mons, num_mons + 1, sizeof(*static_mons));
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/tcp_connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ static void plugin_tcp_connect_add_mon_addr(const char* desc, const char* svc_na
}

if (!this_mon->tcp_svc)
log_fatal("plugin_tcp_connect: BUG: did not find expected service_type %s", svc_name);
log_fatal("plugin_tcp_connect: BUG: did not find expected service_type %s", svc_name);

memcpy(&this_mon->addr, addr, sizeof(this_mon->addr));
if (this_mon->addr.sa.sa_family == AF_INET) {
Expand Down

0 comments on commit c68767d

Please sign in to comment.