r22045: As Volker noticed, skip_string's last argument is
[nivanova/samba-autobuild/.git] / source3 / nmbd / nmbd_elections.c
index fbdb6c4524f225115f153759386e77026acb1899..eb6f1b6e0aa614cf573344df60487c0a5f5f1ca3 100644 (file)
@@ -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,