slstatus

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.beauhilton.com/slstatus.git
Log | Files | Refs | README | LICENSE

commit 98f3985d3ee542fe98b8182ed8f4ced632032b31
parent 3bfa5fe60d69e800dbe4364cf5122af21d00fd4c
Author: Aaron Marcher <info@nulltime.net>
Date:   Fri,  9 Sep 2016 19:18:14 +0200

fixed run_command behaviour for emtpy command output (uninitialized)

Diffstat:
Mslstatus.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slstatus.c b/slstatus.c @@ -397,7 +397,7 @@ run_command(const char* command) { int good; FILE *fp = popen(command, "r"); - char buffer[64]; + char buffer[64] = ""; if (fp == NULL) { warn("Could not get command output for: %s", command);