diff options
author | Josh Soref <jsoref@users.noreply.github.com> | 2021-04-14 05:37:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-14 12:37:11 +0300 |
commit | d5abc8e5936974ef4ced26c9b13949e64b6db8ce (patch) | |
tree | 945399a339f9c7892485681f3d4825aaefada63a /streaming | |
parent | 2e406b860397407d979f9c384e8c35dce246a360 (diff) |
Spelling streaming (#10919)
Diffstat (limited to 'streaming')
-rw-r--r-- | streaming/receiver.c | 4 | ||||
-rw-r--r-- | streaming/sender.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/streaming/receiver.c b/streaming/receiver.c index 03954064a7..119c6f9b05 100644 --- a/streaming/receiver.c +++ b/streaming/receiver.c @@ -30,7 +30,7 @@ static void rrdpush_receiver_thread_cleanup(void *ptr) { executed = 1; struct receiver_state *rpt = (struct receiver_state *) ptr; // If the shutdown sequence has started, and this receiver is still attached to the host then we cannot touch - // the host pointer as it is unpredicable when the RRDHOST is deleted. Do the cleanup from rrdhost_free(). + // the host pointer as it is unpredictable when the RRDHOST is deleted. Do the cleanup from rrdhost_free(). if (netdata_exit && rpt->host) { rpt->exited = 1; return; @@ -123,7 +123,7 @@ PARSER_RC streaming_claimed_id(char **words, void *user, PLUGINSD_ACTION *plugin if(strcmp(words[1], host->machine_guid)) { error("Claim ID is for host \"%s\" but it came over connection for \"%s\"", words[1], host->machine_guid); - return PARSER_RC_OK; //the message is OK problem must be somewehere else + return PARSER_RC_OK; //the message is OK problem must be somewhere else } rrdhost_aclk_state_lock(host); diff --git a/streaming/sender.c b/streaming/sender.c index d55a420ab7..1dee1f0509 100644 --- a/streaming/sender.c +++ b/streaming/sender.c @@ -450,7 +450,7 @@ void attempt_to_send(struct sender_state *s) { s->last_sent_t = now_monotonic_sec(); } else if (ret == -1 && (errno == EAGAIN || errno == EINTR || errno == EWOULDBLOCK)) - debug(D_STREAM, "STREAM %s [send to %s]: unavailable aftering polling POLLOUT", s->host->hostname, + debug(D_STREAM, "STREAM %s [send to %s]: unavailable after polling POLLOUT", s->host->hostname, s->connected_to); else if (ret == -1) { debug(D_STREAM, "STREAM: Send failed - closing socket..."); |