summaryrefslogtreecommitdiffstats
path: root/common/userpref.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/userpref.c')
-rw-r--r--common/userpref.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/userpref.c b/common/userpref.c
index fd7022c..f88a123 100644
--- a/common/userpref.c
+++ b/common/userpref.c
@@ -159,7 +159,7 @@ const char *userpref_get_config_dir()
__config_dir = string_concat(base_config_dir, DIR_SEP_S, USERPREF_CONFIG_DIR, NULL);
if (__config_dir) {
- int i = strlen(__config_dir)-1;
+ int i = strlen(__config_dir)-1;
while ((i > 0) && (__config_dir[i] == DIR_SEP)) {
__config_dir[i--] = '\0';
}
@@ -232,7 +232,7 @@ int userpref_has_pair_record(const char *udid)
* @param count The number of UDIDs found. This parameter can be NULL if it
* is not required.
*
- * @return USERPREF_E_SUCCESS on success, or USERPREF_E_INVALID_ARG if the
+ * @return USERPREF_E_SUCCESS on success, or USERPREF_E_INVALID_ARG if the
* list parameter is not pointing to NULL.
*/
userpref_error_t userpref_get_paired_udids(char ***list, unsigned int *count)
@@ -491,7 +491,7 @@ userpref_error_t pair_record_generate_keys_and_certs(plist_t pair_record, key_da
X509_set_notAfter(host_cert, asn1time);
ASN1_TIME_free(asn1time);
- /* use host public key for host cert */
+ /* use host public key for host cert */
X509_set_pubkey(host_cert, host_pkey);
/* sign host cert with root private key */