From a6e7bd534dc67d06c68206151690f13a4b8168e4 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Thu, 2 Sep 2010 11:11:51 -0500 Subject: [PATCH] fix build for windows --- src/switch_loadable_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_loadable_module.c b/src/switch_loadable_module.c index 76024b89cc..ada05e7fed 100644 --- a/src/switch_loadable_module.c +++ b/src/switch_loadable_module.c @@ -1072,7 +1072,7 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_enumerate_available(const { switch_dir_t *dir = NULL; switch_status_t status; - char buffer[PATH_MAX]; + char buffer[256]; const char *fname; const char *fname_ext; char *fname_base;