libpamtest: fix comments for pamtest_conv_data
authorValentin Vidic <vvidic@valentin-vidic.from.hr>
Sun, 7 Feb 2021 20:29:01 +0000 (21:29 +0100)
committerAndreas Schneider <asn@samba.org>
Wed, 7 Apr 2021 07:22:25 +0000 (09:22 +0200)
Comment descriptions were reversed for out_err and out_info.

Signed-off-by: Valentin Vidic <vvidic@valentin-vidic.from.hr>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
include/libpamtest.h

index 98611f00175caaaf79bf9fb41acfc60f741d9938..3fa69c72a9cade86368d24a6ff59f24047bb0dd5 100644 (file)
@@ -129,12 +129,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;