summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-auth.c
diff options
context:
space:
mode:
authorBruce Momjian2013-12-03 16:42:18 +0000
committerBruce Momjian2013-12-03 16:42:18 +0000
commit4a8adfd4d09c7885daf548ecd53d4999f168a174 (patch)
treec6eceeea017aef6f73d7ee3ed0523ffd77dc0aa5 /src/interfaces/libpq/fe-auth.c
parent6a6b7bbb81cd21d0f9aa70b850b791b61fb7e03d (diff)
C comment: again update comment for pg_fe_sendauth for error cases
Diffstat (limited to 'src/interfaces/libpq/fe-auth.c')
-rw-r--r--src/interfaces/libpq/fe-auth.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c
index 1a1c7bfc3dd..38570f04e93 100644
--- a/src/interfaces/libpq/fe-auth.c
+++ b/src/interfaces/libpq/fe-auth.c
@@ -976,8 +976,10 @@ pg_fe_sendauth(AuthRequest areq, PGconn *conn)
/*
- * pg_fe_getauthname -- returns a pointer to dynamic space containing whatever
- * name the user has authenticated to the system
+ * pg_fe_getauthname
+ *
+ * Returns a pointer to dynamic space containing whatever name the user
+ * has authenticated to the system. If there is an error, return NULL.
*/
char *
pg_fe_getauthname(void)