Fixing a typo in the log message
authorMuhammad Usama <m.usama@gmail.com>
Fri, 12 Aug 2016 12:09:34 +0000 (17:09 +0500)
committerMuhammad Usama <m.usama@gmail.com>
Fri, 12 Aug 2016 12:09:34 +0000 (17:09 +0500)
pcp_child.c

index 35ca6156861a1f0c619fef03adaf75508c3a6507..2601ab0224b8dfffe5f11dff57e6136c8ed39973 100644 (file)
@@ -956,7 +956,7 @@ pcp_do_child(int unix_fd, int inet_fd, char *pcp_conf_file)
                                        if (MASTER_SLAVE && !strcmp(pool_config->master_slave_sub_mode, MODE_STREAMREP))
                                                msg = "primary server cannot be recovered by online recovery.";
                                        else
-                                               msg = "recovery request is accepted only in replication mode or stereaming replication mode. ";
+                                               msg = "recovery request is only allowed in replication and streaming replication modes.";
 
                                        len = strlen(msg)+1;
                                        pcp_write(frontend, "e", 1);