diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xmpp/form.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xmpp/form.c b/src/xmpp/form.c index ce1c4eb2..a77b8e88 100644 --- a/src/xmpp/form.c +++ b/src/xmpp/form.c @@ -274,14 +274,11 @@ form_create_submission(DataForm *form) GSList *curr_value = NULL; switch (field->type_t) { - - case FIELD_HIDDEN: case FIELD_TEXT_SINGLE: case FIELD_TEXT_PRIVATE: case FIELD_BOOLEAN: case FIELD_LIST_SINGLE: case FIELD_JID_SINGLE: - case FIELD_FIXED: value_stanza = xmpp_stanza_new(ctx); xmpp_stanza_set_name(value_stanza, "value"); if (field->values != NULL) { @@ -319,6 +316,8 @@ form_create_submission(DataForm *form) curr_value = g_slist_next(curr_value); } break; + case FIELD_HIDDEN: + case FIELD_FIXED: default: break; } |