Null check?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3787 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
5623cba7c3
commit
24116f498f
@ -457,6 +457,10 @@ static void _tf_ssb_connection_remove_request(tf_ssb_connection_t* connection, i
|
||||
|
||||
void tf_ssb_connection_rpc_send(tf_ssb_connection_t* connection, uint8_t flags, int32_t request_number, const uint8_t* message, size_t size, tf_ssb_rpc_callback_t* callback, void* user_data)
|
||||
{
|
||||
if (!connection)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (request_number > 0)
|
||||
{
|
||||
tf_ssb_connection_add_request(connection, request_number, callback, user_data);
|
||||
|
Loading…
Reference in New Issue
Block a user