common: fix COM_IsSafeFileToDownload extension check

This commit is contained in:
Alibek Omarov 2019-01-30 21:39:50 +03:00
parent cd30812607
commit 74f935d94f
1 changed files with 11 additions and 11 deletions

View File

@ -20,18 +20,18 @@ GNU General Public License for more details.
#include "client.h"
#include "library.h"
const char *file_exts[10] =
static const char *file_exts[] =
{
".cfg",
".lst",
".exe",
".vbs",
".com",
".bat",
".dll",
".ini",
".log",
".sys",
"cfg",
"lst",
"exe",
"vbs",
"com",
"bat",
"dll",
"ini",
"log",
"sys",
};
#ifdef _DEBUG