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

r18607: remove unused structure element

rafal: is there a reason why we don't use libnet_AddShare() in the torture test?

metze
This commit is contained in:
Stefan Metzmacher 2006-09-18 09:02:50 +00:00 committed by Gerald (Jerry) Carter
parent 61104953c8
commit 070a98379a
2 changed files with 1 additions and 2 deletions

View File

@ -130,7 +130,7 @@ NTSTATUS libnet_AddShare(struct libnet_context *ctx,
return status;
}
s.in.level = r->in.level;
s.in.level = 2;
s.in.info.info2 = &r->in.share;
s.in.server_unc = talloc_asprintf(mem_ctx, "\\\\%s", r->in.server_name);

View File

@ -47,7 +47,6 @@ struct libnet_AddShare {
enum libnet_AddShare_level level;
struct {
const char * server_name;
uint32_t level;
struct srvsvc_NetShareInfo2 share;
} in;
struct {