there is no reason to define our own 'maximum path length' when the POSIX headers already define one for us

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-06-09 20:40:10 +00:00
parent b31b0be819
commit 8d88bf549d
10 changed files with 67 additions and 69 deletions

View File

@@ -309,7 +309,7 @@ static char odbc_table[80];
#define DELETE(a,b,c) (vm_delete(c))
#endif
static char VM_SPOOL_DIR[AST_CONFIG_MAX_PATH];
static char VM_SPOOL_DIR[PATH_MAX];
static char ext_pass_cmd[128];
@@ -651,8 +651,8 @@ static void vm_change_password(struct ast_vm_user *vmu, const char *newpassword)
char inbuf[256];
char orig[256];
char currcontext[256] ="";
char tmpin[AST_CONFIG_MAX_PATH];
char tmpout[AST_CONFIG_MAX_PATH];
char tmpin[PATH_MAX];
char tmpout[PATH_MAX];
struct stat statbuf;
if (!change_password_realtime(vmu, newpassword))