fix function signature in lookup for onSendPacketRequested function

This commit is contained in:
Grant Limberg 2015-09-26 14:10:16 -07:00
parent 0b9e5928d3
commit 7c3be2b5c1

View File

@ -462,7 +462,7 @@ namespace {
}
jmethodID packetSenderCallbackMethod = lookup.findMethod(packetSenderClass,
"onSendPacketRequested", "(Ljava/net/InetSocketAddress;[B)I");
"onSendPacketRequested", "(Ljava/net/InetSocketAddress;Ljava/net/InetSocketAddress;[B)I");
if(packetSenderCallbackMethod == NULL)
{
LOGE("Couldn't find onSendPacketRequested method");