mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 20:56:20 +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
|
void
|
||||||
mucconfwin_field_help(ProfMucConfWin *confwin, char *tag)
|
mucconfwin_field_help(ProfMucConfWin *confwin, char *tag)
|
||||||
{
|
{
|
||||||
|
assert(confwin != NULL);
|
||||||
|
|
||||||
ProfWin *window = (ProfWin*) confwin;
|
ProfWin *window = (ProfWin*) confwin;
|
||||||
FormField *field = form_get_field_by_tag(confwin->form, tag);
|
FormField *field = form_get_field_by_tag(confwin->form, tag);
|
||||||
if (field) {
|
if (field) {
|
||||||
|
|||||||
Reference in New Issue
Block a user