diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2009-05-16 07:00:23 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2009-05-16 07:00:23 +0000 |
commit | 97159a4685aee67fdcdee8dec32ebba90aa9af35 (patch) | |
tree | 9e1962533543af6af75a5ea4f603b957450c70f1 | |
parent | 1a939483cef054ab51488c123538237290a7448e (diff) |
add MUST_USE to lookup_dn2uid()
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@884 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | nslcd/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/common.h b/nslcd/common.h index 6013fa0..1219066 100644 --- a/nslcd/common.h +++ b/nslcd/common.h @@ -81,7 +81,7 @@ MUST_USE int isvalidname(const char *name); /* Perform an LDAP lookup to translate the DN into a uid. This function either returns NULL or a strdup()ed string. */ -char *lookup_dn2uid(MYLDAP_SESSION *session,const char *dn,int *rcp); +MUST_USE char *lookup_dn2uid(MYLDAP_SESSION *session,const char *dn,int *rcp); /* transforms the DN info a uid doing an LDAP lookup if needed */ MUST_USE char *dn2uid(MYLDAP_SESSION *session,const char *dn,char *buf,size_t buflen); |