mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 14:06:21 +00:00
Added assert check to mucconfwin_field_help
This commit is contained in:
@@ -102,6 +102,8 @@ mucconfwin_handle_configuration(const char *const roomjid, DataForm *form)
|
||||
void
|
||||
mucconfwin_field_help(ProfMucConfWin *confwin, char *tag)
|
||||
{
|
||||
assert(confwin != NULL);
|
||||
|
||||
ProfWin *window = (ProfWin*) confwin;
|
||||
FormField *field = form_get_field_by_tag(confwin->form, tag);
|
||||
if (field) {
|
||||
|
||||
Reference in New Issue
Block a user