diff options
author | James Booth <boothj5@gmail.com> | 2015-11-02 22:07:07 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-11-02 22:07:07 +0000 |
commit | 9106029261cd48edbb6f020f920e1ff9a0ae62ce (patch) | |
tree | cb5ecf93a7e77c2a4f61579ef05510c6ca34af1b /src/ui | |
parent | 2a65aa00301c3221cad02a4df0eb48d61509dccd (diff) | |
download | profani-tty-9106029261cd48edbb6f020f920e1ff9a0ae62ce.tar.gz |
Added assert check to mucconfwin_field_help
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/mucconfwin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/mucconfwin.c b/src/ui/mucconfwin.c index 2a4576a1..12850e1a 100644 --- a/src/ui/mucconfwin.c +++ b/src/ui/mucconfwin.c @@ -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) { |