From: Daniel Gustafsson Date: Wed, 23 Oct 2024 14:13:28 +0000 (+0200) Subject: Fix incorrect struct reference in comment X-Git-Tag: REL_18_BETA1~1653 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=940f7a562731084f7cb23c0a56e46056340ab664;p=postgresql.git Fix incorrect struct reference in comment SASL frontend mechanisms are implemented with pg_fe_sasl_mech and not the _be_ variant which is the backend implementation. Spotted while reading adjacent code. --- diff --git a/src/interfaces/libpq/fe-auth-sasl.h b/src/interfaces/libpq/fe-auth-sasl.h index 4eecf53a150..258bfd0564f 100644 --- a/src/interfaces/libpq/fe-auth-sasl.h +++ b/src/interfaces/libpq/fe-auth-sasl.h @@ -35,7 +35,7 @@ typedef enum /* * Frontend SASL mechanism callbacks. * - * To implement a frontend mechanism, declare a pg_be_sasl_mech struct with + * To implement a frontend mechanism, declare a pg_fe_sasl_mech struct with * appropriate callback implementations, then hook it into conn->sasl during * pg_SASL_init()'s mechanism negotiation. */