diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2008-04-06 20:35:27 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2008-04-06 20:35:27 +0000 |
commit | 82c09a35a247a12f0344f63fcc0fad4cb306908c (patch) | |
tree | 8e9edf9c73ea84f1caa6dbff45cc3936701511ca | |
parent | d8ce6a570b3ff323bb26f480c1dcc65b4baaafb0 (diff) |
return values of dn2uid() and uid2dn() should always be used
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@673 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | nslcd/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nslcd/common.h b/nslcd/common.h index 1fa272d..c7e3b13 100644 --- a/nslcd/common.h +++ b/nslcd/common.h @@ -77,10 +77,10 @@ int read_address(TFILE *fp,char *addr,int *addrlen,int *af); return -1; /* transforms the DN info a uid doing an LDAP lookup if needed */ -char *dn2uid(MYLDAP_SESSION *session,const char *dn,char *buf,size_t buflen); +MUST_USE char *dn2uid(MYLDAP_SESSION *session,const char *dn,char *buf,size_t buflen); /* transforms the uid into a DN by doing an LDAP lookup */ -char *uid2dn(MYLDAP_SESSION *session,const char *uid,char *buf,size_t buflen); +MUST_USE char *uid2dn(MYLDAP_SESSION *session,const char *uid,char *buf,size_t buflen); /* these are the different functions that handle the database specific actions, see nslcd.h for the action descriptions */ |