cnping

Minimal Graphical Ping Tool
git clone https://git.sinitax.com/cnlohr/cnping
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

commit 5e5eec6b7e63cbd2b6cb5a8c9c2af6522106b4a6
parent cb8740aac1928da2f317ebd74e97a27f45c78838
Author: mrbesen <y.g.2@gmx.de>
Date:   Thu, 19 Jan 2023 18:58:15 +0100

fix brackets

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

diff --git a/httping.c b/httping.c @@ -101,8 +101,9 @@ reconnect: } int sockVal = 1; - if (setsockopt(httpsock, SOL_TCP, TCP_NODELAY, &sockVal, 4) != 0) { - ERRM ( "Error: Failed to set TCP_NODELAY\n"); + if (setsockopt(httpsock, SOL_TCP, TCP_NODELAY, &sockVal, 4) != 0) + { + ERRM( "Error: Failed to set TCP_NODELAY\n"); // not a critical error, we can continue }