wip
This commit is contained in:
parent
0dbe192f7a
commit
8da3e55d8b
11
src/irmc.c
11
src/irmc.c
@ -50,17 +50,6 @@ int translate = 1;
|
||||
int audio_status = 1;
|
||||
|
||||
|
||||
/* get sockaddr, IPv4 or IPv6: */
|
||||
void *get_in_addr(struct sockaddr *sa)
|
||||
{
|
||||
if (sa->sa_family == AF_INET) {
|
||||
return &(((struct sockaddr_in*)sa)->sin_addr);
|
||||
}
|
||||
|
||||
return &(((struct sockaddr_in6*)sa)->sin6_addr);
|
||||
}
|
||||
|
||||
|
||||
// disconnect from the server
|
||||
void inthandler(int sig)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user