Browse Source

common: fix COM_IsSafeFileToDownload extension check

pull/2/head
Alibek Omarov 6 years ago
parent
commit
74f935d94f
  1. 24
      engine/common/common.c

24
engine/common/common.c

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

Loading…
Cancel
Save