57
56
sun_server.sun_family = AF_UNIX;
58
57
strncpy( sun_server.sun_path, psz_srv_socket, sizeof(sun_server.sun_path) );
59
58
sun_server.sun_path[sizeof(sun_server.sun_path) - 1] = '\0';
62
60
if ( bind( i_comm_fd, (struct sockaddr *)&sun_server,
63
61
SUN_LEN(&sun_server) ) < 0 )
65
63
msg_Err( NULL, "cannot bind comm socket (%s)", strerror(errno) );
74
70
/*****************************************************************************