git.samba.org
/
gd
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r4758: - added async support to the session request code
[gd/samba-autobuild/.git]
/
source4
/
torture
/
masktest.c
diff --git
a/source4/torture/masktest.c
b/source4/torture/masktest.c
index c0890118c305c87a7b94fadf538fd50b5c49632d..a560c19f44b3e7b82f05082c68955f8fad955bcb 100644
(file)
--- a/
source4/torture/masktest.c
+++ b/
source4/torture/masktest.c
@@
-20,7
+20,7
@@
#include "includes.h"
#include "dynconfig.h"
#include "includes.h"
#include "dynconfig.h"
-#include "cli
en
t.h"
+#include "cli
lis
t.h"
#include "libcli/raw/libcliraw.h"
#include "system/time.h"
#include "libcli/raw/libcliraw.h"
#include "system/time.h"
@@
-69,7
+69,6
@@
static struct smbcli_state *connect_one(char *share)
{
struct smbcli_state *c;
fstring server;
{
struct smbcli_state *c;
fstring server;
- uint_t flags = 0;
NTSTATUS status;
fstrcpy(server,share+2);
NTSTATUS status;
fstrcpy(server,share+2);
@@
-79,10
+78,10
@@
static struct smbcli_state *connect_one(char *share)
share++;
status = smbcli_full_connection(NULL, &c, "masktest",
share++;
status = smbcli_full_connection(NULL, &c, "masktest",
-
server, NULL
,
- share, "?????",
- username, lp_workgroup(),
-
password, flags, NULL
);
+
server
,
+ share, NULL,
+
username, lp_workgroup(),
+
password
);
if (!NT_STATUS_IS_OK(status)) {
return NULL;
if (!NT_STATUS_IS_OK(status)) {
return NULL;
@@
-98,7
+97,7
@@
static struct {
} last_hit;
static BOOL f_info_hit;
} last_hit;
static BOOL f_info_hit;
-static void listfn(struct file_info *f, const char *s, void *state)
+static void listfn(struct
clilist_
file_info *f, const char *s, void *state)
{
if (strcmp(f->name,".") == 0) {
resultp[0] = '+';
{
if (strcmp(f->name,".") == 0) {
resultp[0] = '+';