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:
parent
19faeac347
commit
370664344a
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user