mirror of
https://github.com/samba-team/samba.git
synced 2025-07-23 20:59:10 +03:00
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
This commit is contained in:
committed by
Volker Lendecke
parent
7524413751
commit
57a0f344a1
@ -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 */
|
||||
|
Reference in New Issue
Block a user