From 4a8adfd4d09c7885daf548ecd53d4999f168a174 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 3 Dec 2013 11:42:18 -0500 Subject: [PATCH] C comment: again update comment for pg_fe_sendauth for error cases --- src/interfaces/libpq/fe-auth.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c index 1a1c7bfc3d..38570f04e9 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)