From 8911a7c5b52f905f2eb904ca59593c1822d7101e Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 1 Jun 2002 14:05:59 +0000 Subject: [PATCH] Corrected a define for temp variable in mbpasswd --- ChangeLog | 1 + unix/mbpasswd.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9c187129..54f059f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -333,6 +333,7 @@ v0.33.20 10-Feb-2002 mbpasswd: Added support for vpopmail, vpasswd command. + Corrected a define for temp variable. mbuser: Added support for vpopmail, vdeluser command. diff --git a/unix/mbpasswd.c b/unix/mbpasswd.c index bf8eb1ec..dd0098ea 100644 --- a/unix/mbpasswd.c +++ b/unix/mbpasswd.c @@ -732,7 +732,9 @@ int main(int argc, char *argv[]) int pfd, tfd; #endif char *cp; - char temp[128]; +#ifdef _VPOPMAIL_PATH + char temp[PATH_MAX]; +#endif /* * Init $MBSE_ROOT/etc/login.defs file before the *pw gets overwritten.