[PATCH] libpamtest: fix comments for pamtest_conv_data

Valentin Vidic vvidic at valentin-vidic.from.hr
Sun Feb 7 20:32:43 UTC 2021


Comment descriptions were reversed for out_err and out_info.

Signed-off-by: Valentin Vidic <vvidic at valentin-vidic.from.hr>
---
 include/libpamtest.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/libpamtest.h b/include/libpamtest.h
index 0307a26..3b1276f 100644
--- a/include/libpamtest.h
+++ b/include/libpamtest.h
@@ -128,12 +128,11 @@ struct pamtest_conv_data {
 	 * an index internally.
 	 */
 	const char **in_echo_on;
-
-	/** Captures messages through PAM_TEXT_INFO. The test caller is
+	/** Captures messages through PAM_ERROR_MSG. The test caller is
 	 * responsible for allocating enough space in the array.
 	 */
 	char **out_err;
-	/** Captures messages through PAM_ERROR_MSG. The test caller is
+	/** Captures messages through PAM_TEXT_INFO. The test caller is
 	 * responsible for allocating enough space in the array.
 	 */
 	char **out_info;
-- 
2.20.1




More information about the samba-technical mailing list