Fix typos.
authorBo Peng <pengbo@sraoss.co.jp>
Wed, 22 Jul 2020 01:23:13 +0000 (10:23 +0900)
committerBo Peng <pengbo@sraoss.co.jp>
Wed, 22 Jul 2020 01:30:39 +0000 (10:30 +0900)
Patch is created by Lu, Chenyang.

src/config/pool_config_variables.c
src/context/pool_session_context.c
src/watchdog/wd_json_data.c
src/watchdog/wd_lifecheck.c

index 2b665d443e7056e18933dbf5ed01625d0ae6cb59..0fae9866890271aab5c0a4b96238d0f9af03f797 100644 (file)
@@ -88,7 +88,7 @@ static bool SyslogFacilityProcessFunc (int newval, int elevel);
 
 #ifndef POOL_PRIVATE
 /* These functions are used to provide Hints for enum type config parameters and
- * to output the vslues of the parameters.
+ * to output the values of the parameters.
  * These functuons are not available for tools since they use the stringInfo that is
  * not present for tools.
  */
index eef39e7a66ac792589adef48d1b703bf1f04f79e..36b3c107efdb4c0537e8a5c568f3a313b9e3e79b 100644 (file)
@@ -240,7 +240,7 @@ void pool_unset_query_in_progress(void)
 
        s->in_progress = false;
 
-       /* Restore where_to_send map if neccessary */
+       /* Restore where_to_send map if necessary */
        if (s->need_to_restore_where_to_send)
        {
                memcpy(s->query_context->where_to_send,s->where_to_send_save, sizeof(s->where_to_send_save));
index 0ca9714c6969212d2b6a5465e4096b1ae76ab506..84be69b1218b64d1b43bbbb99aa2021c57d3a12e 100644 (file)
@@ -225,7 +225,7 @@ char* get_pool_config_json(void)
        return json_str;
 }
 
-/* The function returs the simple JSON string that contains
+/* The function returns the simple JSON string that contains
  * only one KEY,VALUE along with the authkey key value if provided
  */
 char* get_simple_request_json(char *key, char* value, unsigned int sharedKey, char* authKey)
index 23b4cfbf54c488a03257382c18cfaeaf8dd36ae7..0b56ede635d430b448f8a228e8ff04d472617ac4 100644 (file)
@@ -51,7 +51,7 @@
 #define LIFECHECK_GETNODE_WAIT_SEC_COUNT 5 /* max number of seconds the lifecheck process
                                                                                        * should waits before giving up
                                                                                        * while fetching the configured watchdog node
-                                                                                       * infromation from watchdog process through IPC channel
+                                                                                       * information from watchdog process through IPC channel
                                                                                        */
 
 /*