Add some tests for message callbacks, and fix all the things.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3688 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2021-11-17 23:47:55 +00:00
parent 9e1bab03eb
commit 00c1ec660e
3 changed files with 38 additions and 6 deletions

View File

@ -2195,7 +2195,7 @@ void tf_ssb_remove_broadcasts_changed_callback(tf_ssb_t* ssb, tf_ssb_broadcasts_
}
else
{
*it = (*it)->next;
it = &(*it)->next;
}
}
}
@ -2231,7 +2231,7 @@ void tf_ssb_remove_connections_changed_callback(tf_ssb_t* ssb, tf_ssb_connection
}
else
{
*it = (*it)->next;
it = &(*it)->next;
}
}
}
@ -2322,7 +2322,7 @@ void tf_ssb_remove_message_added_callback(tf_ssb_t* ssb, tf_ssb_message_added_ca
}
else
{
*it = (*it)->next;
it = &(*it)->next;
}
}
}
@ -2366,7 +2366,7 @@ void tf_ssb_remove_blob_want_added_callback(tf_ssb_t* ssb, tf_ssb_blob_want_adde
}
else
{
*it = (*it)->next;
it = &(*it)->next;
}
}
}