diff options
author | Jeremy Allison <jra@samba.org> | 2007-10-25 18:15:02 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-10-25 18:15:02 -0700 |
commit | 4da94864ddcdb0ae2ab4ffae388365501369eaf0 (patch) | |
tree | dcbef7d43ee18d315800986d913f8ee8ff4b9cf0 /source3/libsmb | |
parent | 42f96941399102738494f2b28802777301c94826 (diff) | |
download | samba-4da94864ddcdb0ae2ab4ffae388365501369eaf0.tar.gz samba-4da94864ddcdb0ae2ab4ffae388365501369eaf0.tar.bz2 samba-4da94864ddcdb0ae2ab4ffae388365501369eaf0.zip |
Fix cast typo - would have broken all dgram sends.
Jeremy.
(This used to be commit 17ea899f39e80241afa235cb933695ba6bae846a)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clidgram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clidgram.c b/source3/libsmb/clidgram.c index 9f6f4480c5..5b619b6458 100644 --- a/source3/libsmb/clidgram.c +++ b/source3/libsmb/clidgram.c @@ -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 ", |