diff options
author | James Booth <boothj5@gmail.com> | 2014-09-13 21:55:46 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-09-13 21:55:46 +0100 |
commit | c4b4cb557fa97a1dcafe6894e9d6cfb059d37548 (patch) | |
tree | 31504187475fac2377ca792f76430b7dc2524da7 /src/xmpp/iq.c | |
parent | 0a4dea55d541f594ea3b0c540bb018187f0f3d57 (diff) | |
download | profani-tty-c4b4cb557fa97a1dcafe6894e9d6cfb059d37548.tar.gz |
form_get_field_by_var->form_get_form_type_field
Diffstat (limited to 'src/xmpp/iq.c')
-rw-r--r-- | src/xmpp/iq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index 39d8908b..62dfd64a 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -827,7 +827,7 @@ _disco_info_result_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanz DataForm *form = form_create(softwareinfo); FormField *formField = NULL; - char *form_type = form_get_field_by_var(form, "FORM_TYPE"); + char *form_type = form_get_form_type_field(form); if (g_strcmp0(form_type, STANZA_DATAFORM_SOFTWARE) == 0) { GSList *field = form->fields; while (field != NULL) { |