summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_become_lmb.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-14 06:46:14 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-14 06:46:14 +0000
commit1fdaca33422243062fd2954813e746213340fa08 (patch)
tree2ad590dfebaca7c8bba62bb25ef10569520dd7bd /source3/nmbd/nmbd_become_lmb.c
parent183ccefce7ea69b0ff6a40be3e57cfac8ab8e24d (diff)
downloadsamba-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/nmbd_become_lmb.c')
-rw-r--r--source3/nmbd/nmbd_become_lmb.c2
1 files changed, 1 insertions, 1 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,