diff options
author | Jeremy Allison <jra@samba.org> | 2007-04-02 20:10:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:05 -0500 |
commit | 0a2cc569a1803f459f7db77d03e6e90ae30aa35d (patch) | |
tree | 3c7a1ad14eaaa502642ee1704ec1712d9fddee35 /source3/nmbd/nmbd_packets.c | |
parent | 8990b13d2f576aac2e32cec91c0a70adf8b58539 (diff) | |
download | samba-0a2cc569a1803f459f7db77d03e6e90ae30aa35d.tar.gz samba-0a2cc569a1803f459f7db77d03e6e90ae30aa35d.tar.bz2 samba-0a2cc569a1803f459f7db77d03e6e90ae30aa35d.zip |
r22045: As Volker noticed, skip_string's last argument is
redundent. Remove it.
Jeremy.
(This used to be commit 140881cfbb59ce4a699b5900efe02bf315be7bd5)
Diffstat (limited to 'source3/nmbd/nmbd_packets.c')
-rw-r--r-- | source3/nmbd/nmbd_packets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c index 5ec6be1307..87a38b9d2a 100644 --- a/source3/nmbd/nmbd_packets.c +++ b/source3/nmbd/nmbd_packets.c @@ -1899,7 +1899,7 @@ BOOL send_mailslot(BOOL unique, const char *mailslot,char *buf, size_t len, SSVAL(ptr,smb_vwv16,2); p2 = smb_buf(ptr); safe_strcpy_base(p2, mailslot, dgram->data, sizeof(dgram->data)); - p2 = skip_string(ptr,MAX_DGRAM_SIZE,p2,1); + p2 = skip_string(ptr,MAX_DGRAM_SIZE,p2); if (((p2+len) > dgram->data+sizeof(dgram->data)) || ((p2+len) < p2)) { DEBUG(0, ("send_mailslot: Cannot write beyond end of packet\n")); |