summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-06 11:27:49 +0100
committerVolker Lendecke <vl@samba.org>2008-03-06 11:33:26 +0100
commite82c9d1c319c216bbb108b16456df03ae2ad6e97 (patch)
treef6c53b1eab8e03a31a6f370658bc272caff9f872 /source3
parent26537251a3a67b3cbe01bae1b9dae05c62d669d2 (diff)
downloadsamba-e82c9d1c319c216bbb108b16456df03ae2ad6e97.tar.gz
samba-e82c9d1c319c216bbb108b16456df03ae2ad6e97.tar.bz2
samba-e82c9d1c319c216bbb108b16456df03ae2ad6e97.zip
Check the right pointer for non-NULL
Fix Coverity ID 558, 559 (This used to be commit 8e33d19d93ef57a9438aad085aaf04b7c09fe09b)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clidfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index 16582f8049..971cde1252 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -1054,7 +1054,7 @@ static bool cli_check_msdfs_proxy(TALLOC_CTX *ctx,
split_dfs_path(ctx, refs[0].dfspath, pp_newserver,
pp_newshare, &newextrapath );
- if (!pp_newserver || !pp_newshare) {
+ if ((*pp_newserver == NULL) || (*pp_newshare == NULL)) {
return false;
}