fixed bug spotted by Tianhao Qiu
fixed bug spotted by Tianhao Qiu

mrmichalis/libtorrent-code,mildred/rasterbar-libtorrent,mildred/rasterbar-libtorrent,mrmichalis/libtorrent-code,mrmichalis/libtorrent-code,mrmichalis/libtorrent-code,mrmichalis/libtorrent-code,mrmichalis/libtorrent-code,mildred/rasterbar-libtorrent,mildred/rasterbar-libtorrent,mildred/rasterbar-libtorrent,mildred/rasterbar-libtorrent