Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd273946 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Accept takes a socklen_t, not an int.

Change-Id: I0e89aae4a560c3ed9821cbb4432f56e25f3d1c94
parent 7d99c254
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -213,7 +213,7 @@ static int accept_server_socket(int sfd)
    struct sockaddr_un remote;
    struct pollfd pfd;
    int fd;
    int len = sizeof(struct sockaddr_un);
    socklen_t len = sizeof(struct sockaddr_un);

    BTIF_TRACE_EVENT1("accept fd %d", sfd);