diff options
author | raiz <raiz@firemail.cc> | 2016-12-29 12:40:43 +0300 |
---|---|---|
committer | raiz <raiz@firemail.cc> | 2016-12-29 12:40:43 +0300 |
commit | 5f8fdd0e151866700d7f82ec3147758c44d5eaf0 (patch) | |
tree | d193dc167f43171f97ebd4e038ca46afae1dfe68 /slstatus.c | |
parent | 29edcebf85f207363cc8ea8befba7e4f987072eb (diff) |
add braces to single statements so drkhsh doesn't be upset
Diffstat (limited to 'slstatus.c')
-rw-r--r-- | slstatus.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -820,8 +820,9 @@ main(int argc, char *argv[]) element = smprintf("%s", UNKNOWN_STR); warnx("Failed to format output"); } - if (strlcat(status_string, element, sizeof(status_string)) >= sizeof(status_string)) + if (strlcat(status_string, element, sizeof(status_string)) >= sizeof(status_string)) { warnx("Output too long"); + } free(res); free(element); } |