diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-08-31 19:12:19 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-08-31 20:04:16 +0100 |
commit | 633da98ae69866efb195e00d9a3a22ace6bada66 (patch) | |
tree | 875535f3d2257c4ea5bb97a553b2f1beab4a1590 /other/bootstrap_daemon/src | |
parent | 6356eb4e4fe407fa7870f2a685d0d08b5c2ec5bb (diff) |
Add braces to all if statements.
Diffstat (limited to 'other/bootstrap_daemon/src')
-rw-r--r-- | other/bootstrap_daemon/src/tox-bootstrapd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/other/bootstrap_daemon/src/tox-bootstrapd.c b/other/bootstrap_daemon/src/tox-bootstrapd.c index 14ee9148..e1ae7cc6 100644 --- a/other/bootstrap_daemon/src/tox-bootstrapd.c +++ b/other/bootstrap_daemon/src/tox-bootstrapd.c | |||
@@ -79,8 +79,9 @@ int manage_keys(DHT *dht, char *keys_file_path) | |||
79 | 79 | ||
80 | keys_file = fopen(keys_file_path, "w"); | 80 | keys_file = fopen(keys_file_path, "w"); |
81 | 81 | ||
82 | if (!keys_file) | 82 | if (!keys_file) { |
83 | return 0; | 83 | return 0; |
84 | } | ||
84 | 85 | ||
85 | const size_t write_size = fwrite(keys, sizeof(uint8_t), KEYS_SIZE, keys_file); | 86 | const size_t write_size = fwrite(keys, sizeof(uint8_t), KEYS_SIZE, keys_file); |
86 | 87 | ||