summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2015-12-15 21:51:34 +0100
committertest-ldap <test-ldap@vm-accounts.spline.inf.fu-berlin.de>2015-12-15 21:51:34 +0100
commit8530b2beb54e68bb6c9b36fec01dd3898a518183 (patch)
treea66ba55d9914dc78480736976e1995e4a0b735a5
parentcb8c9b87cd6f8ce1f3dc3b923bab9d4a135d6601 (diff)
downloadldap-plugin-8530b2beb54e68bb6c9b36fec01dd3898a518183.tar.gz
ldap-plugin-8530b2beb54e68bb6c9b36fec01dd3898a518183.tar.bz2
ldap-plugin-8530b2beb54e68bb6c9b36fec01dd3898a518183.zip
Use const where possible
-rw-r--r--service_passwords.c2
1 files changed, 1 insertions, 1 deletions
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;