summaryrefslogtreecommitdiffstats
path: root/source/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
commit2f658691e47406f38bec2fc20951f82043fbf894 (patch)
tree2126a21715f31ad077712e9b503ce8a418e64a7c /source/nmbd
parent1391aa6a6fbe8391a4421f5770da40556f011bb8 (diff)
downloadsamba-2f658691e47406f38bec2fc20951f82043fbf894.tar.gz
samba-2f658691e47406f38bec2fc20951f82043fbf894.tar.xz
samba-2f658691e47406f38bec2fc20951f82043fbf894.zip
Fix insure-found parameter size missmatch.
Jeremy.
Diffstat (limited to 'source/nmbd')
-rw-r--r--source/nmbd/nmbd_workgroupdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nmbd/nmbd_workgroupdb.c b/source/nmbd/nmbd_workgroupdb.c
index 485253680b9..01477c81133 100644
--- a/source/nmbd/nmbd_workgroupdb.c
+++ b/source/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;