]> granicus.if.org Git - pgbouncer/commitdiff
Fix a couple of typos
authorGabriele Bartolini <gabriele.bartolini@2ndQuadrant.it>
Sun, 16 Apr 2017 19:16:41 +0000 (21:16 +0200)
committerGabriele Bartolini <gabriele.bartolini@2ndQuadrant.it>
Sun, 16 Apr 2017 19:16:41 +0000 (21:16 +0200)
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@2ndQuadrant.it>
src/client.c

index 2690599167a19ecb37701f686db964189560c01b..0dfa102274dbb5eea1ad3cb5dbcc27ade3f4c291 100644 (file)
@@ -314,7 +314,7 @@ bool handle_auth_response(PgSocket *client, PktHdr *pkt) {
                        return false;
                }
                if (columns != 2u) {
-                       disconnect_server(server, false, "expected 1 column from login query, not %hu", columns);
+                       disconnect_server(server, false, "expected 2 columns from login query, not %hu", columns);
                        return false;
                }
                break;
@@ -325,7 +325,7 @@ bool handle_auth_response(PgSocket *client, PktHdr *pkt) {
                        return false;
                }
                if (columns != 2u) {
-                       disconnect_server(server, false, "expected 1 column from login query, not %hu", columns);
+                       disconnect_server(server, false, "expected 2 columns from login query, not %hu", columns);
                        return false;
                }
                if (!mbuf_get_uint32be(&pkt->data, &length)) {