From: Kurt Zeilenga Date: Sat, 29 May 1999 19:08:57 +0000 (+0000) Subject: Correct minor oversights from last commit. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~477 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c3b1baa89f866ecaa4077ffb1020c98ff139347e;p=openldap Correct minor oversights from last commit. --- diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 6c2f2b118c..aa273848bc 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -27,6 +27,8 @@ #include #include +#include + static char *prog; static char *binddn = NULL; static char *passwd = NULL; diff --git a/clients/tools/ldappasswd.c b/clients/tools/ldappasswd.c index 597d5d1ecb..a3e37e1f49 100644 --- a/clients/tools/ldappasswd.c +++ b/clients/tools/ldappasswd.c @@ -189,7 +189,7 @@ hash_crypt (const char *pw_in, Salt * salt) crypted_pw = crypt (pw_in, (char *)lsalt.salt); free (lsalt.salt); } - return (STRDUP (crypted_pw)); + return (strdup (crypted_pw)); } #endif