* pgpool: a language independent connection pool server for PostgreSQL
* written by Tatsuo Ishii
*
- * Copyright (c) 2003-2019 PgPool Global Development Group
+ * Copyright (c) 2003-2020 PgPool Global Development Group
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose and without fee is hereby
kind = send_password_packet(backend, protoMajor, pwd);
/* if authenticated, save info */
- if (!reauth && kind == AUTH_REQ_OK)
+ if (kind == AUTH_REQ_OK)
{
if (IS_MASTER_NODE_ID(backend->db_node_id))
{
pool_read(backend, &kind, sizeof(kind));
/* if authenticated, save info */
- if (!reauth && kind == 0)
+ if (kind == 0)
{
int msglen;