kopia lustrzana https://github.com/dgiardini/rtl-ais
Avoid compiling warnings
rodzic
36aef50428
commit
7644b9a1cd
|
@ -119,7 +119,6 @@ void closeTcpSocket() {
|
||||||
sleep(3);
|
sleep(3);
|
||||||
close(sockfd);
|
close(sockfd);
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------
|
// ------------------------------------------------------------
|
||||||
|
@ -160,6 +159,7 @@ static void *tcp_listener_fn(void *arg) {
|
||||||
#else
|
#else
|
||||||
close(t->sock);
|
close(t->sock);
|
||||||
#endif
|
#endif
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue