More SNtp debug 4

This commit is contained in:
Sergey Lyubka committed 2022-05-27 20:48:19 +01:00
1 parent be8b01e289
commit b9d1d4a94f
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
sudo tcpdump -nn -i any port 123 or port 53 -w sntp.cap & sudo tcpdump -nn -i any port 123 or port 53 -w sntp.cap &
sleep 1 sleep 1
- name: test - name: test
run: make clean test IPV6=0 SSL= OPTS= V=4 run: make clean test IPV6=0 SSL= OPTS= V=4 TFLAGS=-DMG_ENABLE_POLL=1
- name: Upload capture - name: Upload capture
if: always() if: always()
run: | run: |
+1
View File
@@ -4413,6 +4413,7 @@ static void mg_iotest(struct mg_mgr *mgr, int ms) {
} }
} }
MG_DEBUG(("n=%d ms=%d", n, ms));
if (poll(fds, n, ms) < 0) { if (poll(fds, n, ms) < 0) {
MG_ERROR(("poll failed, errno: %d", MG_SOCK_ERRNO)); MG_ERROR(("poll failed, errno: %d", MG_SOCK_ERRNO));
} else { } else {