We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22acfbf commit 1826978Copy full SHA for 1826978
features/net/FEATURE_IPV4/TESTS/mbedmicro-net/nist_internet_time_service/main.cpp
@@ -42,7 +42,7 @@ int main() {
42
int ret_send = sock.sendto(nist, (void*)ntp_send_values, sizeof(ntp_send_values));
43
printf("UDP: Sent %d Bytes to NTP server \n", ret_send);
44
45
- const int n = sock.recvfrom(&nist, (void*)ntp_recv_values, sizeof(ntp_recv_values));
+ const int n = sock.recvfrom(NULL, (void*)ntp_recv_values, sizeof(ntp_recv_values));
46
47
printf("UDP: Recved from NTP server %d Bytes \n", n);
48
0 commit comments