From bd8d4417757b1f3edd9ef36897cf47fe96b6e37a Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 19 Apr 2003 00:02:30 +0000 Subject: Second round of FE/BE protocol changes. Frontend->backend messages now have length counts, and COPY IN data is packetized into messages. --- src/interfaces/libpq/fe-auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interfaces/libpq/fe-auth.c') diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c index fca2d2e303..10e2ee15f1 100644 --- a/src/interfaces/libpq/fe-auth.c +++ b/src/interfaces/libpq/fe-auth.c @@ -10,7 +10,7 @@ * exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes). * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.75 2003/04/17 22:26:01 tgl Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.76 2003/04/19 00:02:30 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -559,7 +559,7 @@ pg_password_sendauth(PGconn *conn, const char *password, AuthRequest areq) default: return STATUS_ERROR; } - ret = pqPacketSend(conn, 0, crypt_pwd, strlen(crypt_pwd) + 1); + ret = pqPacketSend(conn, 'p', crypt_pwd, strlen(crypt_pwd) + 1); if (areq == AUTH_REQ_MD5) free(crypt_pwd); return ret; -- cgit v1.2.1