mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
committed by
Gerald (Jerry) Carter
parent
02eea79624
commit
1cf1e648fe
@ -187,7 +187,7 @@ void load_interfaces(void)
|
||||
total_probed = get_interfaces(ifaces, MAX_INTERFACES);
|
||||
|
||||
if (total_probed > 0) {
|
||||
probed_ifaces = memdup(ifaces, sizeof(ifaces[0])*total_probed);
|
||||
probed_ifaces = (struct iface_struct *)memdup(ifaces, sizeof(ifaces[0])*total_probed);
|
||||
if (!probed_ifaces) {
|
||||
DEBUG(0,("ERROR: memdup failed\n"));
|
||||
exit(1);
|
||||
|
Reference in New Issue
Block a user