pgpool2.git / summary / log / commit / refs
commit f0e203e86d4e30ea8ad7f33c7ef5bf86472405e4
Author: Tatsuo Ishii <ishii at sraoss.co.jp>
Date: Tue Dec 14 00:53:39 2010 +0000
Fix comment in send_password_packet().
pool_auth.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/pool_auth.c b/pool_auth.c
index ff6068529..f9bf93d74 100644
--- a/pool_auth.c
+++ b/pool_auth.c
@@ -1063,6 +1063,7 @@ static int read_password_packet(POOL_CONNECTION *frontend, int protoMajor, char
* Send password packet to backend and receive authentication response
* packet. Return value is the last field of authentication
* response. If it's 0, authentication was successfull.
+ * "password" must be null-terminated.
*/
static int send_password_packet(POOL_CONNECTION *backend, int protoMajor, char *password)
{
[parent: a8cb87fcc51a]