libnm-glib: add missing NMSettingHashFlags argument to NMSecretAgentGetSecretsFunc docs
The nm_connection_to_hash() call in the NMSecretAgentGetSecretsFunc documentation missed the last argument. This patch adds NM_SETTING_HASH_FLAG_ALL as the last argument in the example.
This commit is contained in:

committed by
Dan Williams

parent
b95b6c8aa1
commit
48a84c1271
@@ -132,7 +132,7 @@ typedef struct {
|
||||
* NM_SETTING_WIRELESS_SECURITY_PSK, "my really cool PSK",
|
||||
* NULL);
|
||||
* nm_connection_add_setting (secrets, NM_SETTING (s_wsec));
|
||||
* secrets_hash = nm_connection_to_hash (secrets);
|
||||
* secrets_hash = nm_connection_to_hash (secrets, NM_SETTING_HASH_FLAG_ALL);
|
||||
*
|
||||
* (call the NMSecretAgentGetSecretsFunc with secrets_hash)
|
||||
*
|
||||
|
Reference in New Issue
Block a user