Spelling streaming (#10919)
Josh Soref committed
Apr 14, 2021 at 05:37 UTC
d5abc8e5936974ef4ced26c9b13949e64b6db8ce
2 files changed
+3
-3
streaming/receiver.c
+2
-2
@@ -30,7 +30,7 @@ static void rrdpush_receiver_thread_cleanup(void *ptr) {
30
executed = 1;
31
struct receiver_state *rpt = (struct receiver_state *) ptr;
32
// If the shutdown sequence has started, and this receiver is still attached to the host then we cannot touch
33
- // the host pointer as it is unpredicable when the RRDHOST is deleted. Do the cleanup from rrdhost_free().
33
+ // the host pointer as it is unpredictable when the RRDHOST is deleted. Do the cleanup from rrdhost_free().
34
if (netdata_exit && rpt->host) {
35
rpt->exited = 1;
36
return;
@@ -123,7 +123,7 @@ PARSER_RC streaming_claimed_id(char **words, void *user, PLUGINSD_ACTION *plugin
123
124
if(strcmp(words[1], host->machine_guid)) {
125
error("Claim ID is for host \"%s\" but it came over connection for \"%s\"", words[1], host->machine_guid);
126
- return PARSER_RC_OK; //the message is OK problem must be somewehere else
126
+ return PARSER_RC_OK; //the message is OK problem must be somewhere else
127
}
128
129
rrdhost_aclk_state_lock(host);
streaming/sender.c
+1
-1
@@ -450,7 +450,7 @@ void attempt_to_send(struct sender_state *s) {
450
s->last_sent_t = now_monotonic_sec();
451
}
452
else if (ret == -1 && (errno == EAGAIN || errno == EINTR || errno == EWOULDBLOCK))
453
- debug(D_STREAM, "STREAM %s [send to %s]: unavailable aftering polling POLLOUT", s->host->hostname,
453
+ debug(D_STREAM, "STREAM %s [send to %s]: unavailable after polling POLLOUT", s->host->hostname,
454
s->connected_to);
455
else if (ret == -1) {
456
debug(D_STREAM, "STREAM: Send failed - closing socket...");