summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-01-21 12:15:07 +0000
committerJeremy Allison <jra@samba.org>1998-01-21 12:15:07 +0000
commit2d1ff641f09e06c8ddf62814b12a3f2fa3851244 (patch)
treeaa7452d2fe984d1a2a2a0439fb2c62064a499a63 /source3
parent82ac976f354565ce11e676f9fc0a9155e7d49cae (diff)
downloadsamba-2d1ff641f09e06c8ddf62814b12a3f2fa3851244.tar.gz
samba-2d1ff641f09e06c8ddf62814b12a3f2fa3851244.tar.bz2
samba-2d1ff641f09e06c8ddf62814b12a3f2fa3851244.zip
Fixed send_mailslot code where src_type was always being set to zero.
Fix found by Bernhard Laeser <nlaesb@ascom.ch>. Jeremy. (This used to be commit 303b5a79c83246e1895f9478e187610addfd2862)
Diffstat (limited to 'source3')
-rw-r--r--source3/nmbd/nmbd_packets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c
index 03bd3889fa..a40b4d426d 100644
--- a/source3/nmbd/nmbd_packets.c
+++ b/source3/nmbd/nmbd_packets.c
@@ -1794,7 +1794,7 @@ BOOL send_mailslot(BOOL unique, char *mailslot,char *buf,int len,
dgram->header.dgm_length = 0; /* Let build_dgram() handle this. */
dgram->header.packet_offset = 0;
- make_nmb_name(&dgram->source_name,srcname,0,scope);
+ make_nmb_name(&dgram->source_name,srcname,src_type,scope);
make_nmb_name(&dgram->dest_name,dstname,dest_type,scope);
ptr = &dgram->data[0];