1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Fix insure-found parameter size missmatch.

Jeremy.
(This used to be commit 2f658691e4)
This commit is contained in:
Jeremy Allison 2001-03-23 19:01:27 +00:00
parent 19faeac347
commit 370664344a
2 changed files with 3 additions and 3 deletions

View File

@ -1519,7 +1519,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);

View File

@ -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;