add braces to single statements so drkhsh doesn't be upset
raiz raiz@firemail.cc
Thu, 29 Dec 2016 12:40:43 +0300
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
slstatus.c
→
slstatus.c
@@ -820,8 +820,9 @@ if (element == NULL) {
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); }