Skip to content

Commit 940f7a5

Browse files
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.
1 parent 6d16f9d commit 940f7a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ typedef enum
3535
/*
3636
* Frontend SASL mechanism callbacks.
3737
*
38-
* To implement a frontend mechanism, declare a pg_be_sasl_mech struct with
38+
* To implement a frontend mechanism, declare a pg_fe_sasl_mech struct with
3939
* appropriate callback implementations, then hook it into conn->sasl during
4040
* pg_SASL_init()'s mechanism negotiation.
4141
*/

0 commit comments

Comments
 (0)