From 8530b2beb54e68bb6c9b36fec01dd3898a518183 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 15 Dec 2015 21:51:34 +0100 Subject: Use const where possible --- service_passwords.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service_passwords.c b/service_passwords.c index 03c0c96..5cb9924 100644 --- a/service_passwords.c +++ b/service_passwords.c @@ -10,7 +10,7 @@ extern int slapi_pw_find(struct berval **vals, struct berval *v); static Slapi_ComponentId *plugin_id = NULL; /* Get an entry specified by a DN and with the specified attributes. */ -static int get_entry(char *dn, char **attrs, Slapi_Entry **entry) +static int get_entry(const char *dn, char **attrs, Slapi_Entry **entry) { Slapi_Entry **entries = NULL; Slapi_PBlock *pb = NULL; -- cgit v1.2.3-1-g7c22