From 65edc72c34ec4906a4edfd039600dc2da06d6fb3 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Thu, 10 Dec 2020 17:40:40 +1100 Subject: [PATCH] docs: fix simple typo, followign -> following There is a small typo in src/atomicvar.h, src/cluster.h. Should read `following` rather than `followign`. --- src/atomicvar.h | 2 +- src/cluster.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/atomicvar.h b/src/atomicvar.h index 84a5bbc5..0f7bf92a 100644 --- a/src/atomicvar.h +++ b/src/atomicvar.h @@ -21,7 +21,7 @@ * * Never use return value from the macros, instead use the AtomicGetIncr() * if you need to get the current value and increment it atomically, like - * in the followign example: + * in the following example: * * long oldvalue; * atomicGetIncr(myvar,oldvalue,1); diff --git a/src/cluster.h b/src/cluster.h index af85841c..5fa319de 100644 --- a/src/cluster.h +++ b/src/cluster.h @@ -159,7 +159,7 @@ typedef struct clusterState { or zero if stil not received. */ int mf_can_start; /* If non-zero signal that the manual failover can start requesting masters vote. */ - /* The followign fields are used by masters to take state on elections. */ + /* The following fields are used by masters to take state on elections. */ uint64_t lastVoteEpoch; /* Epoch of the last vote granted. */ int todo_before_sleep; /* Things to do in clusterBeforeSleep(). */ /* Messages received and sent by type. */