python binding fixes

This commit is contained in:
Arvid Norberg 2008-05-13 22:23:22 +00:00
parent 63fd1eb118
commit a26632696c
1 changed files with 4 additions and 4 deletions

View File

@ -28,17 +28,17 @@ namespace
this->peer_plugin::add_handshake(e);
}
bool on_handshake()
bool on_handshake(char const* reserved_bits)
{
if (override f = this->get_override("on_handshake"))
return f();
else
return peer_plugin::on_handshake();
return peer_plugin::on_handshake(reserved_bits);
}
bool default_on_handshake()
bool default_on_handshake(char const* reserved_bits)
{
return this->peer_plugin::on_handshake();
return this->peer_plugin::on_handshake(reserved_bits);
}
bool on_extension_handshake(entry const& e)