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:10:09 +0000 (17:10 +0500)
pcp_child.c

index 55f8822871a7b1419ec79323b91776a5e95f891b..b1c222f4629bd57740e733c55bafed96f20448fb 100644 (file)
@@ -873,7 +873,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);