Commit 05a66159 authored by Roland Knall's avatar Roland Knall Committed by Pascal Quantin

extcap: Remove single-space argument for boolflags

 Boolflags will be added with a NULL argument to the
 list and therefore the original fix will work.

 Note: extcap_get_complex_as_string will convert any NULL
 value into a single character argument (' '). Therefore
 any argument type, where NULL is a special value should
 be handled seperately here. For now, the only datatype
 will be BOOLFLAG

Change-Id: Icfc9b573214e05ea713a3b70ea37953d470dafae
Reviewed-on: https://code.wireshark.org/review/4649Reviewed-by: default avatarRoland Knall <rknall@gmail.com>
Reviewed-by: default avatarTomasz Moń <desowin@gmail.com>
Reviewed-by: default avatarPascal Quantin <pascal.quantin@gmail.com>
parent 74c43587
......@@ -316,10 +316,10 @@ GHashTable *extcap_gtk_get_state(GtkWidget *widget) {
*/
if (extcap_compare_is_default(arg, parsed_complex))
continue;
}
if (parsed_complex != NULL && call_string == NULL)
call_string = extcap_get_complex_as_string(parsed_complex);
if (parsed_complex != NULL && call_string == NULL)
call_string = extcap_get_complex_as_string(parsed_complex);
}
g_hash_table_insert(ret_hash, g_strdup(arg->call),
g_strdup(call_string));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment