|
@@ -3746,7 +3746,7 @@ void laRefreshUDFResourcesIn(char* rootpath){
|
|
|
if (rootpath[len - 1] != LA_PATH_SEP) strcat(rootpath, LA_PATH_SEPSTR);
|
|
|
#ifdef __linux__
|
|
|
struct dirent **NameList=0;
|
|
|
- int NumFiles=scandir(rootpath,&NameList,0,alphasort);
|
|
|
+ NumFiles=scandir(rootpath,&NameList,0,alphasort);
|
|
|
|
|
|
for(int i=0;i<NumFiles;i++){
|
|
|
struct dirent* d = NameList[i]; int dlen;
|