summaryrefslogtreecommitdiff
path: root/src/include/libpq/sasl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/libpq/sasl.h')
-rw-r--r--src/include/libpq/sasl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/libpq/sasl.h b/src/include/libpq/sasl.h
index 7ba3f5f5bc7..71cc0dc2514 100644
--- a/src/include/libpq/sasl.h
+++ b/src/include/libpq/sasl.h
@@ -126,11 +126,11 @@ typedef struct pg_be_sasl_mech
int (*exchange) (void *state,
const char *input, int inputlen,
char **output, int *outputlen,
- char **logdetail);
+ const char **logdetail);
} pg_be_sasl_mech;
/* Common implementation for auth.c */
extern int CheckSASLAuth(const pg_be_sasl_mech *mech, Port *port,
- char *shadow_pass, char **logdetail);
+ char *shadow_pass, const char **logdetail);
#endif /* PG_SASL_H */