summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/client.c2
-rw-r--r--src/conf.c4
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));
diff --git a/src/conf.c b/src/conf.c
index db88e90..609d246 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -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);