common: fix COM_IsSafeFileToDownload extension check
This commit is contained in:
parent
cd30812607
commit
74f935d94f
1 changed files with 11 additions and 11 deletions
|
@ -20,18 +20,18 @@ GNU General Public License for more details.
|
||||||
#include "client.h"
|
#include "client.h"
|
||||||
#include "library.h"
|
#include "library.h"
|
||||||
|
|
||||||
const char *file_exts[10] =
|
static const char *file_exts[] =
|
||||||
{
|
{
|
||||||
".cfg",
|
"cfg",
|
||||||
".lst",
|
"lst",
|
||||||
".exe",
|
"exe",
|
||||||
".vbs",
|
"vbs",
|
||||||
".com",
|
"com",
|
||||||
".bat",
|
"bat",
|
||||||
".dll",
|
"dll",
|
||||||
".ini",
|
"ini",
|
||||||
".log",
|
"log",
|
||||||
".sys",
|
"sys",
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
|
|
Loading…
Add table
Reference in a new issue