diff options
author | Jeremy Allison <jra@samba.org> | 2001-03-23 19:01:09 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-03-23 19:01:09 +0000 |
commit | 716eefb1026ce9421b3c4e5bc030b7537d380ae1 (patch) | |
tree | c694ab09eefd55385632864c79871cbd5bd3ec87 | |
parent | dd9d8e8e5f1e7880ef73d84ff5a6e4df8e0bff72 (diff) | |
download | samba-716eefb1026ce9421b3c4e5bc030b7537d380ae1.tar.gz samba-716eefb1026ce9421b3c4e5bc030b7537d380ae1.tar.xz samba-716eefb1026ce9421b3c4e5bc030b7537d380ae1.zip |
Fix insure-found parameter size missmatch.
Jeremy.
-rw-r--r-- | source/include/proto.h | 2 | ||||
-rw-r--r-- | source/nmbd/nmbd_workgroupdb.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/include/proto.h b/source/include/proto.h index 6969435abb3..d9b30306913 100644 --- a/source/include/proto.h +++ b/source/include/proto.h @@ -1463,7 +1463,7 @@ void wins_write_database(BOOL background); struct work_record *find_workgroup_on_subnet(struct subnet_record *subrec, const char *name); struct work_record *create_workgroup_on_subnet(struct subnet_record *subrec, - fstring name, int ttl); + const char *name, int ttl); void update_workgroup_ttl(struct work_record *work, int ttl); void initiate_myworkgroup_startup(struct subnet_record *subrec, struct work_record *work); void dump_workgroups(BOOL force_write); 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; |