Changeset 1671

Show
Ignore:
Timestamp:
07/29/08 17:38:57 (1 month ago)
Author:
chengyu
Message:

fix a bug that will cause AccessViolate? exception
add .bat .reg and .com file to white list

Thanks to 赵双(Shuang Zhao)[dflower@stu.xjtu.edu.cn]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeybow/trunk/mwwatcher/src/MwWatcherDlg.cpp

    r670 r1671  
    905905                } 
    906906                 
    907                 //initialize the output string with ftp\put command 
     907                         
     908                //initialize the output striing wth ftp\put command 
    908909                CString TempOutput("put \""); 
    909910 
     
    963964                } 
    964965 
    965                 AddedFiles.erase(itr); 
     966                itr = AddedFiles.erase(itr); 
    966967        } 
    967968 
     
    11101111        if(PathMatchSpec(strFileName, "*.dll") 
    11111112                || PathMatchSpec(strFileName, "*.sys") 
    1112                 || PathMatchSpec(strFileName, "*.vbs")) 
     1113                || PathMatchSpec(strFileName, "*.vbs") 
     1114                || PathMatchSpec(strFileName, "*.reg") 
     1115                || PathMatchSpec(strFileName, "*.bat") 
     1116                || PathMatchSpec(strFileName, "*.com")) 
    11131117        { 
    11141118                return TRUE;