Browse code

core: tcp - fixed typo on condition introduced in previous commit

Daniel-Constantin Mierla authored on 13/12/2021 14:17:37
Showing 1 changed files
... ...
@@ -1145,7 +1145,7 @@ done:
1145 1145
 	twaitms = 0;
1146 1146
 	do {
1147 1147
 		bytes = recv(c->s, &hdr, size, 0);
1148
-		if(bytes==-1 && errno == EINTR)) {
1148
+		if(bytes==-1 && errno == EINTR) {
1149 1149
 			if(twaitms <= cfg_get(tcp, tcp_cfg, wait_data_ms)) {
1150 1150
 				/* LM_DBG("bytes: %d - errno: %d (%d/%d) - twait: %dms\n", bytes,
1151 1151
 						errno, EINTR, EAGAIN, twaitms); */