Fixed SIGBUS on Sparc/NetBSD systems
This commit is contained in:
parent
5350633e1a
commit
18929b8dfa
@ -11,6 +11,7 @@ v0.91.3 11-Feb-2007
|
||||
|
||||
mbtask:
|
||||
Some code cleanup.
|
||||
Fixed s SIGBUS on Sparc/NetBSD systems.
|
||||
|
||||
mbsebbs:
|
||||
Some debuglog cleanup.
|
||||
|
@ -810,7 +810,7 @@ void check_servers(void)
|
||||
* Set default next action to 60 seconds.
|
||||
*/
|
||||
ncs_list[i].action = now + (time_t)60;
|
||||
memset(&ncs_list[i].servaddr_in, 0, sizeof(struct sockaddr_in));
|
||||
// Gives SIGBUS on Sparc memset(&ncs_list[i].servaddr_in, 0, sizeof(struct sockaddr_in));
|
||||
se = getservbyname("fido", "udp");
|
||||
ncs_list[i].servaddr_in.sin_family = AF_INET;
|
||||
ncs_list[i].servaddr_in.sin_port = se->s_port;
|
||||
|
Reference in New Issue
Block a user