From c3b1baa89f866ecaa4077ffb1020c98ff139347e Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 29 May 1999 19:08:57 +0000 Subject: [PATCH] Correct minor oversights from last commit. --- clients/tools/ldapmodify.c | 2 ++ clients/tools/ldappasswd.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5