diff options
-rw-r--r-- | source3/modules/vfs_media_harmony.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_media_harmony.c b/source3/modules/vfs_media_harmony.c index 7f499df37f..2418349298 100644 --- a/source3/modules/vfs_media_harmony.c +++ b/source3/modules/vfs_media_harmony.c @@ -490,8 +490,8 @@ static int alloc_get_client_smb_fname(struct vfs_handle_struct *handle, DEBUG(MH_INFO_DEBUG, ("Entering with smb_fname->base_name '%s'\n", smb_fname->base_name)); - clientFname = cp_smb_filename(ctx, smb_fname); - if (clientFname == NULL) { + *clientFname = cp_smb_filename(ctx, smb_fname); + if ((*clientFname) == NULL) { DEBUG(MH_ERR_DEBUG, ("alloc_get_client_smb_fname " "NTERR\n")); errno = ENOMEM; |