mirror of
https://github.com/samba-team/samba.git
synced 2025-03-05 20:58:40 +03:00
Fix cast typo - would have broken all dgram sends.
Jeremy.
This commit is contained in:
parent
f982774c8d
commit
17ea899f39
@ -99,7 +99,7 @@ bool cli_send_mailslot(struct messaging_context *msg_ctx,
|
||||
dgram->datasize = PTR_DIFF(p2,ptr+4); /* +4 for tcp length. */
|
||||
|
||||
p.packet_type = DGRAM_PACKET;
|
||||
p.ip = ((const struct sockaddr_in *)&dest_ss)->sin_addr;
|
||||
p.ip = ((const struct sockaddr_in *)dest_ss)->sin_addr;
|
||||
p.timestamp = time(NULL);
|
||||
|
||||
DEBUG(4,("send_mailslot: Sending to mailslot %s from %s ",
|
||||
|
Loading…
x
Reference in New Issue
Block a user