merged fix for alerts.all_categories in python binding from RC_0_16

This commit is contained in:
Arvid Norberg 2013-02-03 00:07:42 +00:00
parent 327626b830
commit 8a55d7e32b
2 changed files with 6 additions and 1 deletions

View File

@ -12,6 +12,7 @@
* fix uTP edge case where udp socket buffer fills up
* fix nagle implementation in uTP
* fix alerts.all_categories in python binding
* fix torrent-abort issue which would cancel name lookups of other torrents
* make torrent file parser reject invalid path elements earlier
* fixed piece picker bug when using pad-files

View File

@ -99,7 +99,11 @@ namespace libtorrent {
stats_notification = 0x800,
rss_notification = 0x1000,
all_categories = 0xffffffff
// since the enum is signed, make sure this isn't
// interpreted as -1. For instance, boost.python
// does that and fails when assigning it to an
// unsigned parameter.
all_categories = 0x7fffffff
};
alert();