summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_elections.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-04-02 20:10:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:05 -0500
commit0a2cc569a1803f459f7db77d03e6e90ae30aa35d (patch)
tree3c7a1ad14eaaa502642ee1704ec1712d9fddee35 /source3/nmbd/nmbd_elections.c
parent8990b13d2f576aac2e32cec91c0a70adf8b58539 (diff)
downloadsamba-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_elections.c')
-rw-r--r--source3/nmbd/nmbd_elections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_elections.c b/source3/nmbd/nmbd_elections.c
index fbdb6c4524..eb6f1b6e0a 100644
--- a/source3/nmbd/nmbd_elections.c
+++ b/source3/nmbd/nmbd_elections.c
@@ -53,7 +53,7 @@ static void send_election_dgram(struct subnet_record *subrec, const char *workgr
strupper_m(srv_name);
/* The following call does UNIX -> DOS charset conversion. */
pstrcpy_base(p, srv_name, outbuf);
- p = skip_string(outbuf,sizeof(outbuf),p,1);
+ p = skip_string(outbuf,sizeof(outbuf),p);
send_mailslot(False, BROWSE_MAILSLOT, outbuf, PTR_DIFF(p,outbuf),
global_myname(), 0,