diff options
| author | 2015-01-28 01:27:59 +0100 | |
|---|---|---|
| committer | 2015-01-28 01:27:59 +0100 | |
| commit | 24ce2e27b47d3ad460680e02514f5bdbd4628724 (patch) | |
| tree | ff174ebb7deab82d1f9c031d147e47e01bf47d3a /common/userpref.c | |
| parent | c9d8013c1a6d69ef8b6024166629413e481e185d (diff) | |
| download | libimobiledevice-24ce2e27b47d3ad460680e02514f5bdbd4628724.tar.gz libimobiledevice-24ce2e27b47d3ad460680e02514f5bdbd4628724.tar.bz2 | |
Remove trailing whitespace errors from all files
Diffstat (limited to 'common/userpref.c')
| -rw-r--r-- | common/userpref.c | 6 |
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() | |||
| 159 | __config_dir = string_concat(base_config_dir, DIR_SEP_S, USERPREF_CONFIG_DIR, NULL); | 159 | __config_dir = string_concat(base_config_dir, DIR_SEP_S, USERPREF_CONFIG_DIR, NULL); |
| 160 | 160 | ||
| 161 | if (__config_dir) { | 161 | if (__config_dir) { |
| 162 | int i = strlen(__config_dir)-1; | 162 | int i = strlen(__config_dir)-1; |
| 163 | while ((i > 0) && (__config_dir[i] == DIR_SEP)) { | 163 | while ((i > 0) && (__config_dir[i] == DIR_SEP)) { |
| 164 | __config_dir[i--] = '\0'; | 164 | __config_dir[i--] = '\0'; |
| 165 | } | 165 | } |
| @@ -232,7 +232,7 @@ int userpref_has_pair_record(const char *udid) | |||
| 232 | * @param count The number of UDIDs found. This parameter can be NULL if it | 232 | * @param count The number of UDIDs found. This parameter can be NULL if it |
| 233 | * is not required. | 233 | * is not required. |
| 234 | * | 234 | * |
| 235 | * @return USERPREF_E_SUCCESS on success, or USERPREF_E_INVALID_ARG if the | 235 | * @return USERPREF_E_SUCCESS on success, or USERPREF_E_INVALID_ARG if the |
| 236 | * list parameter is not pointing to NULL. | 236 | * list parameter is not pointing to NULL. |
| 237 | */ | 237 | */ |
| 238 | userpref_error_t userpref_get_paired_udids(char ***list, unsigned int *count) | 238 | 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 | |||
| 491 | X509_set_notAfter(host_cert, asn1time); | 491 | X509_set_notAfter(host_cert, asn1time); |
| 492 | ASN1_TIME_free(asn1time); | 492 | ASN1_TIME_free(asn1time); |
| 493 | 493 | ||
| 494 | /* use host public key for host cert */ | 494 | /* use host public key for host cert */ |
| 495 | X509_set_pubkey(host_cert, host_pkey); | 495 | X509_set_pubkey(host_cert, host_pkey); |
| 496 | 496 | ||
| 497 | /* sign host cert with root private key */ | 497 | /* sign host cert with root private key */ |
