pgpool2.git / summary / log / commit / refs

commit    8cbc884b60b5cae3a7ea3540f60eac303a96fc26
Author:   Devrim GÜNDÜZ <devrim at gunduz.org>
Date:     Wed Nov 29 22:33:21 2006 +0000

    Fix small typos in messages


child.c | 2 +- pool_auth.c | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/child.c b/child.c index 0d2c44378..998828703 100644 --- a/child.c +++ b/child.c @@ -255,7 +255,7 @@ void do_child(int unix_fd, int inet_fd) found = 1; /* existing connection associated with same user/database/major found. - * however we should make sure that the startup packet contents identical. + * however we should make sure that the startup packet contents are identical. * OPTION data and others might be different. */ if (sp->len != MASTER_CONNECTION(backend)->sp->len) diff --git a/pool_auth.c b/pool_auth.c index 97be1ebe7..caa1753d7 100644 --- a/pool_auth.c +++ b/pool_auth.c @@ -98,7 +98,7 @@ int pool_do_auth(POOL_CONNECTION *frontend, POOL_CONNECTION_POOL *cp) * 5: md5 password * 6: scm credential * - * in replication mode, we only supports kind = 0, 3. this is because to "salt" + * in replication mode, we only support kind = 0, 3. this is because to "salt" * cannot be replicated. * in non replication mode, we support kind = 0, 3, 4, 5 */ @@ -186,7 +186,7 @@ int pool_do_auth(POOL_CONNECTION *frontend, POOL_CONNECTION_POOL *cp) if (pid != 0) { - pool_error("pool_do_auth: backend does not return authenticaton ok"); + pool_error("pool_do_auth: backend does not return authentication ok"); return -1; } @@ -199,7 +199,7 @@ int pool_do_auth(POOL_CONNECTION *frontend, POOL_CONNECTION_POOL *cp) kind = pool_read_kind(cp); if (kind < 0) { - pool_error("pool_do_auth: failed to read kind before backendkeydata"); + pool_error("pool_do_auth: failed to read kind before BackendKeyData"); return -1; } else if (kind == 'K') @@ -663,13 +663,13 @@ static int do_crypt(POOL_CONNECTION *backend, POOL_CONNECTION *frontend, int rea pool_debug("size: %d saved_size: %d", (ntohl(size) - 4), backend->pwd_size); if ((ntohl(size) - 4) != backend->pwd_size) { - pool_debug("do_crypt: password size does not match in re-authetication"); + pool_debug("do_crypt: password size does not match in re-authentication"); return -1; } if (memcmp(password, backend->password, backend->pwd_size) != 0) { - pool_debug("do_crypt: password does not match in re-authetication"); + pool_debug("do_crypt: password does not match in re-authentication"); return -1; } @@ -831,13 +831,13 @@ static int do_md5(POOL_CONNECTION *backend, POOL_CONNECTION *frontend, int reaut { if ((ntohl(size) - 4) != backend->pwd_size) { - pool_debug("do_md5; password size does not match in re-authetication"); + pool_debug("do_md5; password size does not match in re-authentication"); return -1; } if (memcmp(password, backend->password, backend->pwd_size) != 0) { - pool_debug("do_md5; password does not match in re-authetication"); + pool_debug("do_md5; password does not match in re-authentication"); return -1; } @@ -964,7 +964,7 @@ int pool_read_message_length(POOL_CONNECTION_POOL *cp) /* * read message length2 (V3 only) * unlike pool_read_message_length, this returns an array of message length. - * the array is in the static storage, thus it will be destroyed by subsequent calls. + * The array is in the static storage, thus it will be destroyed by subsequent calls. */ int *pool_read_message_length2(POOL_CONNECTION_POOL *cp) { [parent: 8d5b442c3e37]