lio972 / peerblock

Automatically exported from code.google.com/p/peerblock
Other
1 stars 1 forks source link

missing braces #470

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
D:\Temp\testP\test\libs\peerblock-master\src\peerblock\editlistproc.cpp 86

if(l=dynamic_cast<StaticList*>(*list)) { <<=== missing
    if(l->File!=file) {
        l->File=file;
        g_ret|=LISTS_NEEDRELOAD;
    }
} <<=== missing
else {
    delete *list;
    *list=l=new StaticList;
    l->File=file;

    g_ret|=LISTS_NEEDRELOAD;
}

Original issue reported on code.google.com by 12maks...@gmail.com on 11 Sep 2013 at 1:32