diff options
author | Volker Lendecke <vl@samba.org> | 2011-07-24 15:21:32 +0200 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-07-24 16:37:19 +0200 |
commit | 57a0f344a192112b31bb00bef79f3e5e4b747cfe (patch) | |
tree | b6854b28cef231c50fa5df50f12345494029281d /source3/libsmb | |
parent | 75244137510a51df2a8602160b02a3acc6e6c472 (diff) | |
download | samba-57a0f344a192112b31bb00bef79f3e5e4b747cfe.tar.gz samba-57a0f344a192112b31bb00bef79f3e5e4b747cfe.tar.bz2 samba-57a0f344a192112b31bb00bef79f3e5e4b747cfe.zip |
s3: Fix Coverity ID 2596, REVERSE_INULL
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Jul 24 16:37:19 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clidfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index 97458e5d47..d729649286 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/libsmb/clidfs.c @@ -1032,12 +1032,13 @@ bool cli_check_msdfs_proxy(TALLOC_CTX *ctx, uint16 cnum; char *newextrapath = NULL; NTSTATUS status; - const char *remote_name = cli_state_remote_name(cli); + const char *remote_name; if (!cli || !sharename) { return false; } + remote_name = cli_state_remote_name(cli); cnum = cli_state_get_tid(cli); /* special case. never check for a referral on the IPC$ share */ |