pgpool2.git / summary / log / commit / refs
commit 97dbadeb905ba447a72a40f02b207f1f9770a12d
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: Mon Apr 08 13:24:50 2013 +0000
remove "//" comments.
pcp/pcp.c | 1 -
pcp/pcp_stop_pgpool.c | 4 +---
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/pcp/pcp.c b/pcp/pcp.c
index 497a632f5..d82352cf7 100644
--- a/pcp/pcp.c
+++ b/pcp/pcp.c
@@ -1329,7 +1329,6 @@ pcp_pool_status(int *array_size)
if (strcmp(buf, "ArraySize") == 0)
{
index = (char *) memchr(buf, '\0', rsize) + 1;
- //if (index != NULL)
ci_size = ntohl(*((int *)index));
*array_size = ci_size;
diff --git a/pcp/pcp_stop_pgpool.c b/pcp/pcp_stop_pgpool.c
index 66c2747f5..d454381f4 100644
--- a/pcp/pcp_stop_pgpool.c
+++ b/pcp/pcp_stop_pgpool.c
@@ -4,7 +4,7 @@
* pgpool: a language independent connection pool server for PostgreSQL
* written by Tatsuo Ishii
*
- * Copyright (c) 2003-2008 PgPool Global Development Group
+ * Copyright (c) 2003-2013 PgPool Global Development Group
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose and without fee is hereby
@@ -142,8 +142,6 @@ main(int argc, char **argv)
pcp_errorstr(errorcode);
pcp_disconnect();
myexit(errorcode);
- } else {
- // display something on success?
}
pcp_disconnect();
[parent: 5946d733aad0]