[PATCH v2 05/16] openconnect: Add asking cookie from agent

Patrik Flykt patrik.flykt at linux.intel.com
Thu Nov 29 02:53:05 PST 2012


On Tue, 2012-11-27 at 12:51 +0200, Jukka Rissanen wrote:
> +                       if (dbus_message_iter_get_arg_type(&entry)
> +                                                       !=
> DBUS_TYPE_VARIANT)
> +                               break;
> +                       dbus_message_iter_recurse(&entry, &value);
> +                       dbus_message_iter_get_basic(&value, &cookie); 

Here we'd need to check that the basic type is a string.

Cheers,

	Patrik





More information about the connman mailing list