mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
use pstrcpy_base()
(This used to be commit 9387caf3cebecd50de2b295560355b779135d8c3)
This commit is contained in:
parent
6798444ba5
commit
29d734a93c
@ -47,7 +47,7 @@ static void send_election_dgram(struct subnet_record *subrec, const char *workgr
|
||||
SIVAL(p,1,criterion);
|
||||
SIVAL(p,5,timeup*1000); /* ms - Despite what the spec says. */
|
||||
p += 13;
|
||||
safe_strcpy(p, server_name, sizeof(outbuf) - 1 - (p-outbuf));
|
||||
pstrcpy_base(p, server_name, outbuf);
|
||||
strupper(p);
|
||||
p = skip_string(p,1);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user