mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Added assert check to mucconfwin_field_help
This commit is contained in:
parent
2a65aa0030
commit
9106029261
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user