From 4c6edb22b70249c302209dc4af29c5caa88a764d Mon Sep 17 00:00:00 2001 From: Yuri Chornoivan Date: Fri, 17 Mar 2017 15:57:50 +0200 Subject: all: fix typos in documentation and comments https://bugzilla.gnome.org/show_bug.cgi?id=780199 [thaller@redhat.com: reworded commit message] --- libnm-util/nm-setting-8021x.c | 4 ++-- libnm-util/nm-setting-wireless-security.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libnm-util') diff --git a/libnm-util/nm-setting-8021x.c b/libnm-util/nm-setting-8021x.c index 03165bda37..5cb19818ed 100644 --- a/libnm-util/nm-setting-8021x.c +++ b/libnm-util/nm-setting-8021x.c @@ -3560,7 +3560,7 @@ nm_setting_802_1x_class_init (NMSetting8021xClass *setting_class) * #NMSetting8021x:private-key-password property must be set to password * used to decrypt the PKCS#12 certificate and key. When using PKCS#12 files * and the path scheme, this property should be set to the full UTF-8 - * encoded path of the key, prefixed with the string "file://" and and + * encoded path of the key, prefixed with the string "file://" and * ending with a terminating NUL byte, and as with the blob scheme the * "private-key-password" property must be set to the password used to * decode the PKCS#12 private key and certificate. @@ -3632,7 +3632,7 @@ nm_setting_802_1x_class_init (NMSetting8021xClass *setting_class) * password used to decrypt the PKCS#12 certificate and key. When using * PKCS#12 files and the path scheme, this property should be set to the * full UTF-8 encoded path of the key, prefixed with the string "file://" - * and and ending with a terminating NUL byte, and as with the blob scheme + * and ending with a terminating NUL byte, and as with the blob scheme * the #NMSetting8021x:phase2-private-key-password property must be set to * the password used to decode the PKCS#12 private key and certificate. * diff --git a/libnm-util/nm-setting-wireless-security.c b/libnm-util/nm-setting-wireless-security.c index fd8eb976f1..22808fea7e 100644 --- a/libnm-util/nm-setting-wireless-security.c +++ b/libnm-util/nm-setting-wireless-security.c @@ -206,7 +206,7 @@ nm_setting_wireless_security_get_proto (NMSettingWirelessSecurity *setting, guin * by this connection only supports WPA2/RSN, the connection cannot be used * with the access point. * - * Returns: %TRUE if the protocol was new and and was added to the allowed + * Returns: %TRUE if the protocol was new and was added to the allowed * protocol list, or %FALSE if it was already in the list **/ gboolean @@ -260,7 +260,7 @@ nm_setting_wireless_security_remove_proto (NMSettingWirelessSecurity *setting, g * * Removes a protocol from the allowed protocol list. * - * Returns: %TRUE if the protocol was found and removed; %FALSE it it was not. + * Returns: %TRUE if the protocol was found and removed; %FALSE if it was not. * * Since: 0.9.10 **/ @@ -408,7 +408,7 @@ nm_setting_wireless_security_remove_pairwise (NMSettingWirelessSecurity *setting * Removes an encryption algorithm from the allowed pairwise encryption * algorithm list. * - * Returns: %TRUE if the encryption algorith was found and removed; %FALSE it it was not. + * Returns: %TRUE if the encryption algorith was found and removed; %FALSE if it was not. * * Since: 0.9.10 **/ @@ -558,7 +558,7 @@ nm_setting_wireless_security_remove_group (NMSettingWirelessSecurity *setting, g * Removes an encryption algorithm from the allowed groupwise encryption * algorithm list. * - * Returns: %TRUE if the algorithm was found and removed; %FALSE it it was not. + * Returns: %TRUE if the algorithm was found and removed; %FALSE if it was not. * * Since: 0.9.10 **/ -- cgit v1.2.1