diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-10 04:34:48 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-10 04:34:48 +0000 |
commit | 44ee84a182c1cd1b3a0f2acb440f94bc50dfaf33 (patch) | |
tree | 7f495a3ec379790aa18ebff959d9f731ec071e7c /pbx | |
parent | 74a884d805ece80217df09f52254b552aea55208 (diff) |
convert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAX
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33421 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r-- | pbx/pbx_gtkconsole.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pbx/pbx_gtkconsole.c b/pbx/pbx_gtkconsole.c index 29d5ba819..590913099 100644 --- a/pbx/pbx_gtkconsole.c +++ b/pbx/pbx_gtkconsole.c @@ -240,7 +240,7 @@ static void reload_module(void) static void file_ok_sel(GtkWidget *w, GtkFileSelection *fs) { - char tmp[AST_CONFIG_MAX_PATH]; + char tmp[PATH_MAX]; char *module = gtk_file_selection_get_filename(fs); char buf[256]; snprintf(tmp, sizeof(tmp), "%s/", ast_config_AST_MODULE_DIR); @@ -260,7 +260,7 @@ static void file_ok_sel(GtkWidget *w, GtkFileSelection *fs) static void add_module(void) { - char tmp[AST_CONFIG_MAX_PATH]; + char tmp[PATH_MAX]; GtkWidget *filew; snprintf(tmp, sizeof(tmp), "%s/*.so", ast_config_AST_MODULE_DIR); filew = gtk_file_selection_new("Load Module"); |