Update main.c

pull/28/head
alanbjohnston 6 years ago committed by GitHub
parent 903fff053a
commit c52796f4a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -915,7 +915,7 @@ int get_tlm_fox() {
int sock_ret = send(sock, buffer[alt], buffSize, 0);
printf("Result of socket send: %d \n", sock_ret);
if (sock_ret == -1)
printf("Error: %s \n", sock_ret, strerror(errno));
printf("Error: %s \n", strerror(errno));
alt = (++alt) % 2;
printf("Alternate value is %d \n", alt);
}

Loading…
Cancel
Save

Powered by TurnKey Linux.