forked from cory/tildefriends
This might fix one disconnect issue, when a tunnel.connect error can't be forwarded?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4147 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
ab75ec07f8
commit
7318ddd70e
@ -1474,7 +1474,7 @@ static void _tf_ssb_connection_rpc_recv(tf_ssb_connection_t* connection, uint8_t
|
|||||||
{
|
{
|
||||||
if (_tf_ssb_name_equals(context, val, it->name))
|
if (_tf_ssb_name_equals(context, val, it->name))
|
||||||
{
|
{
|
||||||
it->callback(connection, flags, request_number, val, NULL, 0, it->user_data);
|
it->callback(connection, flags, request_number, val, message, size, it->user_data);
|
||||||
found = true;
|
found = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1488,7 +1488,7 @@ static void _tf_ssb_connection_rpc_recv(tf_ssb_connection_t* connection, uint8_t
|
|||||||
{
|
{
|
||||||
if (callback)
|
if (callback)
|
||||||
{
|
{
|
||||||
callback(connection, flags, request_number, val, NULL, 0, user_data);
|
callback(connection, flags, request_number, val, message, size, user_data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!_tf_ssb_name_equals(context, val, (const char*[]) { "Error", NULL }))
|
else if (!_tf_ssb_name_equals(context, val, (const char*[]) { "Error", NULL }))
|
||||||
|
Loading…
Reference in New Issue
Block a user