diff options
author | Martin Szulecki | 2020-06-08 22:58:16 +0200 |
---|---|---|
committer | Martin Szulecki | 2020-06-08 22:58:16 +0200 |
commit | 71aa08fcf437309462644eb77dc0abbd00a7f874 (patch) | |
tree | fd13ffdeb867b40448fa0d650474bd0c083d38d4 /src | |
parent | 080747cfacaefed9b3647fa5b38001942ac59d2a (diff) | |
download | usbmuxd-71aa08fcf437309462644eb77dc0abbd00a7f874.tar.gz usbmuxd-71aa08fcf437309462644eb77dc0abbd00a7f874.tar.bz2 |
Remove trailing whitespace errors from all files
Diffstat (limited to 'src')
-rw-r--r-- | src/client.c | 2 | ||||
-rw-r--r-- | src/conf.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/client.c b/src/client.c index 1fc15c8..2819516 100644 --- a/src/client.c +++ b/src/client.c @@ -511,7 +511,7 @@ static int send_pair_record(struct mux_client *client, uint32_t tag, const char* } config_get_device_record(record_id, &record_data, &record_size); - + if (record_data) { plist_t dict = plist_new_dict(); plist_dict_set_item(dict, "PairRecordData", plist_new_data(record_data, record_size)); @@ -132,7 +132,7 @@ const char *config_get_config_dir() __config_dir = string_concat(base_config_dir, DIR_SEP_S, 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'; } @@ -160,7 +160,7 @@ static int mkdir_with_parents(const char *dir, int mode) if (__mkdir(dir, mode) == 0) { return 0; } else { - if (errno == EEXIST) return 0; + if (errno == EEXIST) return 0; } int res; char *parent = strdup(dir); |