]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
auth: fix docs for cli_credentials_get_password_and_obtained()
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 5 Feb 2025 03:40:47 +0000 (16:40 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Tue, 26 Aug 2025 22:42:39 +0000 (22:42 +0000)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
auth/credentials/credentials.c

index dab1c047c13b31e0edece8f00cea7a59bc80d45f..a8e3e22002fb64ecb37581b1af7e6cd1e81057ba 100644 (file)
@@ -626,7 +626,7 @@ cli_credentials_get_password_obtained(struct cli_credentials *cred)
  *
  * @param[in]  obtained  A pointer to store the obtained information.
  *
- * return The user name or NULL if an error occurred.
+ * return The password if there is one.
  */
 _PUBLIC_ const char *
 cli_credentials_get_password_and_obtained(struct cli_credentials *cred,