Fix incorrect struct reference in comment
authorDaniel Gustafsson <[email protected]>
Wed, 23 Oct 2024 14:13:28 +0000 (16:13 +0200)
committerDaniel Gustafsson <[email protected]>
Wed, 23 Oct 2024 14:13:28 +0000 (16:13 +0200)
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.

src/interfaces/libpq/fe-auth-sasl.h

index 4eecf53a1503097d25dbec3518c55fc61ef83fdb..258bfd0564fcffefa0c985e5022c8308c885f05a 100644 (file)
@@ -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.
  */