diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-01-14 06:46:14 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-01-14 06:46:14 +0000 |
commit | 1fdaca33422243062fd2954813e746213340fa08 (patch) | |
tree | 2ad590dfebaca7c8bba62bb25ef10569520dd7bd /source3/nmbd | |
parent | 183ccefce7ea69b0ff6a40be3e57cfac8ab8e24d (diff) | |
download | samba-1fdaca33422243062fd2954813e746213340fa08.tar.gz samba-1fdaca33422243062fd2954813e746213340fa08.tar.bz2 samba-1fdaca33422243062fd2954813e746213340fa08.zip |
The last of the fstring/pstring mixups, and an extra 'static'.
(This used to be commit b328b67fd8fd605636ed58ffd33cf5be3d480672)
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd_become_lmb.c | 2 | ||||
-rw-r--r-- | source3/nmbd/nmbd_browsesync.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_become_lmb.c b/source3/nmbd/nmbd_become_lmb.c index 7b8ba14bb5..bac5589566 100644 --- a/source3/nmbd/nmbd_become_lmb.c +++ b/source3/nmbd/nmbd_become_lmb.c @@ -563,7 +563,7 @@ in workgroup %s on subnet %s\n", userdata->copy_fn = NULL; userdata->free_fn = NULL; userdata->userdata_len = strlen(work->work_group)+1; - pstrcpy(userdata->data, work->work_group); + fstrcpy(userdata->data, work->work_group); /* Register the special browser group name. */ register_name(subrec, MSBROWSE, 0x01, samba_nb_type|NB_GROUP, diff --git a/source3/nmbd/nmbd_browsesync.c b/source3/nmbd/nmbd_browsesync.c index daa5142b25..f27f42297f 100644 --- a/source3/nmbd/nmbd_browsesync.c +++ b/source3/nmbd/nmbd_browsesync.c @@ -333,7 +333,7 @@ static void find_domain_master_name_query_success(struct subnet_record *subrec, userdata->copy_fn = NULL; userdata->free_fn = NULL; userdata->userdata_len = strlen(work->work_group)+1; - pstrcpy(userdata->data, work->work_group); + fstrcpy(userdata->data, work->work_group); node_status( subrec, &nmbname, answer_ip, domain_master_node_status_success, |