mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-18 19:31:02 +00:00
More SNtp debug 4
This commit is contained in:
1 parent
be8b01e289
commit
b9d1d4a94f
2 files changed
+2
-1
No files matched your search
@@ -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: |
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user