(*newPath)[pathPtr - path + CREATING_DIRNAME_LEN] = '\0';
DEBUG(MH_INFO_DEBUG, ("newPath #2 %s\n", *newPath));
- if (status = alloc_append_client_suffix(handle, newPath))
+ if ((status = alloc_append_client_suffix(handle, newPath)))
{
goto out;
}
)
{
DEBUG(MH_INFO_DEBUG, ("newPath #5 %s\n", *newPath));
- if (status = alloc_append_client_suffix(handle, newPath))
+ if ((status = alloc_append_client_suffix(handle, newPath)))
{
goto out;
}
status = -1;
goto err;
}
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
smb_fname->base_name,
- &(*clientFname)->base_name))
+ &(*clientFname)->base_name)))
{
goto err;
}
status = -1;
goto err;
}
- if (status = alloc_append_client_suffix(handle, path))
+ if ((status = alloc_append_client_suffix(handle, path)))
{
goto err;
}
copy_len -= 2;
}
- if ((statPath = talloc_strndup(ctx,
- (*clientFname)->base_name, copy_len)) == NULL)
+ if (((statPath = talloc_strndup(ctx,
+ (*clientFname)->base_name, copy_len)) == NULL))
{
errno = ENOMEM;
status = -1;
goto err;
}
- if (status = alloc_append_client_suffix(handle, &statPath))
+ if ((status = alloc_append_client_suffix(handle, &statPath)))
{
goto err;
}
char *clientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
path,
- &clientPath))
+ &clientPath)))
{
goto err;
}
char *clientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
path,
- &clientPath))
+ &clientPath)))
{
goto err;
}
char *clientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
path,
- &clientPath))
+ &clientPath)))
{
goto err;
}
struct smb_filename *dstClientFname = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_smb_fname(handle, ctx,
+ if ((status = alloc_get_client_smb_fname(handle, ctx,
smb_fname_src,
- &srcClientFname))
+ &srcClientFname)))
{
goto err;
}
- if (status = alloc_get_client_smb_fname(handle, ctx,
+ if ((status = alloc_get_client_smb_fname(handle, ctx,
smb_fname_dst,
- &dstClientFname))
+ &dstClientFname)))
{
goto err;
}
struct smb_filename *clientFname = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_smb_fname(handle, ctx,
+ if ((status = alloc_get_client_smb_fname(handle, ctx,
smb_fname,
- &clientFname))
+ &clientFname)))
{
goto err;
}
DEBUG(MH_INFO_DEBUG, ("Stat'ing clientFname->base_name '%s'\n",
clientFname->base_name));
- if (status = SMB_VFS_NEXT_STAT(handle, clientFname))
+ if ((status = SMB_VFS_NEXT_STAT(handle, clientFname)))
{
goto err;
}
- if (status = set_fake_mtime(handle, ctx, &clientFname, sys_stat))
+ if ((status = set_fake_mtime(handle, ctx, &clientFname, sys_stat)))
{
goto err;
}
struct smb_filename *clientFname = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_smb_fname(handle, ctx,
+ if ((status = alloc_get_client_smb_fname(handle, ctx,
smb_fname,
- &clientFname))
+ &clientFname)))
{
goto err;
}
- if (status = SMB_VFS_NEXT_LSTAT(handle, clientFname))
+ if ((status = SMB_VFS_NEXT_LSTAT(handle, clientFname)))
{
goto err;
}
- if (status = set_fake_mtime(handle, ctx, &clientFname, sys_lstat))
+ if ((status = set_fake_mtime(handle, ctx, &clientFname, sys_lstat)))
{
goto err;
}
int status = 0;
- if (status = SMB_VFS_NEXT_FSTAT(handle, fsp, sbuf))
+ if ((status = SMB_VFS_NEXT_FSTAT(handle, fsp, sbuf)))
{
goto out;
}
goto out;
}
- if (status = mh_stat(handle, fsp->fsp_name))
+ if ((status = mh_stat(handle, fsp->fsp_name)))
{
goto out;
}
struct smb_filename *clientFname = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_smb_fname(handle, ctx,
+ if ((status = alloc_get_client_smb_fname(handle, ctx,
smb_fname,
- &clientFname))
+ &clientFname)))
{
goto err;
}
char *clientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
path,
- &clientPath))
+ &clientPath)))
{
goto err;
}
char *clientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
path,
- &clientPath))
+ &clientPath)))
{
goto err;
}
char *clientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
path,
- &clientPath))
+ &clientPath)))
{
goto err;
}
char *clientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
path,
- &clientPath))
+ &clientPath)))
{
goto err;
}
struct smb_filename *clientFname = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_smb_fname(handle, ctx,
+ if ((status = alloc_get_client_smb_fname(handle, ctx,
smb_fname,
- &clientFname))
+ &clientFname)))
{
goto err;
}
char *newClientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
oldpath,
- &oldClientPath))
+ &oldClientPath)))
{
goto err;
}
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
newpath,
- &newClientPath))
+ &newClientPath)))
{
goto err;
}
char *clientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
path,
- &clientPath))
+ &clientPath)))
{
goto err;
}
char *newClientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
oldpath,
- &oldClientPath))
+ &oldClientPath)))
{
goto err;
}
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
newpath,
- &newClientPath))
+ &newClientPath)))
{
goto err;
}
char *clientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
pathname,
- &clientPath))
+ &clientPath)))
{
goto err;
}
char *clientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
path,
- &clientPath))
+ &clientPath)))
{
goto err;
}
char *clientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
path,
- &clientPath))
+ &clientPath)))
{
goto err;
}
char *clientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
name,
- &clientPath))
+ &clientPath)))
{
goto err;
}
char *clientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
path,
- &clientPath))
+ &clientPath)))
{
goto err;
}
char *clientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
path,
- &clientPath))
+ &clientPath)))
{
goto err;
}
char *clientPath = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_path(handle, ctx,
+ if ((status = alloc_get_client_path(handle, ctx,
path,
- &clientPath))
+ &clientPath)))
{
goto err;
}
struct smb_filename *clientFname = NULL;
TALLOC_CTX *ctx = talloc_tos();
- if (status = alloc_get_client_smb_fname(handle, ctx,
+ if ((status = alloc_get_client_smb_fname(handle, ctx,
fname,
- &clientFname))
+ &clientFname)))
{
goto err;
}