mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 15:53:12 +02:00
relay: remove useless condition
This fixes a compilation warning on FreeBSD.
This commit is contained in:
@@ -293,7 +293,7 @@ relay_server_sock_cb (const void *pointer, void *data, int fd)
|
||||
ptr_addr = &client_addr;
|
||||
client_addr_size = sizeof (struct sockaddr_in);
|
||||
}
|
||||
else if (server->unix_socket)
|
||||
else
|
||||
{
|
||||
ptr_addr = &client_addr_unix;
|
||||
client_addr_size = sizeof (struct sockaddr_un);
|
||||
|
||||
Reference in New Issue
Block a user