spoon

set dwm status
git clone git://git.2f30.org/spoon
Log | Files | Refs | LICENSE

commit 03e33d7ddbae0ec981cd4bbdd5f6c589e17e34f5
parent 4fbef7dcb04682ff3c8020c7d4f2a2fc29f1f0d6
Author: sin <sin@2f30.org>
Date:   Tue, 17 May 2016 09:12:52 +0100

Close socket when we are done

Diffstat:
Mspoon.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/spoon.c b/spoon.c @@ -165,11 +165,10 @@ wifiread(char *buf, size_t len) close(s); continue; } + close(s); - if (nr.nr_rssi == 0) { - close(s); + if (nr.nr_rssi == 0) continue; - } if (nr.nr_max_rssi == 0) { if (nr.nr_rssi <= -100)