summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-23 19:01:27 +0000
committerJeremy Allison <jra@samba.org>2001-03-23 19:01:27 +0000
commit370664344a138ada6779dab23fa31bc4e0794e1a (patch)
tree901f944ebc674607953a67a131c42828e4742698 /source3/nmbd
parent19faeac3472539f4fb5713f777d85cd5e66fd675 (diff)
downloadsamba-370664344a138ada6779dab23fa31bc4e0794e1a.tar.gz
samba-370664344a138ada6779dab23fa31bc4e0794e1a.tar.bz2
samba-370664344a138ada6779dab23fa31bc4e0794e1a.zip
Fix insure-found parameter size missmatch.
Jeremy. (This used to be commit 2f658691e47406f38bec2fc20951f82043fbf894)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_workgroupdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_workgroupdb.c b/source3/nmbd/nmbd_workgroupdb.c
index 485253680b..01477c8113 100644
--- a/source3/nmbd/nmbd_workgroupdb.c
+++ b/source3/nmbd/nmbd_workgroupdb.c
@@ -52,7 +52,7 @@ static void add_workgroup(struct subnet_record *subrec, struct work_record *work
Create an empty workgroup.
**************************************************************************/
-static struct work_record *create_workgroup(char *name, int ttl)
+static struct work_record *create_workgroup(const char *name, int ttl)
{
struct work_record *work;
struct subnet_record *subrec;
@@ -180,7 +180,7 @@ struct work_record *find_workgroup_on_subnet(struct subnet_record *subrec,
**************************************************************************/
struct work_record *create_workgroup_on_subnet(struct subnet_record *subrec,
- fstring name, int ttl)
+ const char *name, int ttl)
{
struct work_record *work = NULL;