blob: 956d93cdf1e0761dc1e43b4ff51b7421a7c6b860 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -Naur nepenthes-0.1.1.orig/nepenthes-core/src/SubmitManager.cpp nepenthes-0.1.1/nepenthes-core/src/SubmitManager.cpp
--- nepenthes-0.1.1.orig/nepenthes-core/src/SubmitManager.cpp 2005-08-27 23:57:40.000000000 +0200
+++ nepenthes-0.1.1/nepenthes-core/src/SubmitManager.cpp 2005-09-07 12:43:00.000000000 +0200
@@ -170,7 +170,7 @@
logInfo("File %s has type %s \n",down->getMD5Sum().c_str(),filetype);
if ( filetype != NULL )
{
- if (strstr(filetype,"MS-DOS executable") == NULL && m_StrictFileType == true )
+ if (strstr(filetype,"executable") == NULL && m_StrictFileType == true )
{
logWarn("dropping file %s as it is not executable\n",down->getMD5Sum().c_str());
return;
|