From 4d0795a21b6d097b5378b5b723f7eb06181d7962 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 10 Mar 2006 08:56:13 +0000 Subject: r14133: Fix Coverity bug # 140 (This used to be commit 5007f53eb54eddff3d13df929d78385d6b158057) --- source3/libsmb/clidfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/libsmb') diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index c5cf75783b..03cfd4dd40 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/libsmb/clidfs.c @@ -585,11 +585,11 @@ BOOL cli_resolve_path( const char *mountpt, struct cli_state *rootcli, const cha SMB_STRUCT_STAT sbuf; uint32 attributes; - *targetcli = NULL; - if ( !rootcli || !path || !targetcli ) return False; + *targetcli = NULL; + /* send a trans2_query_path_info to check for a referral */ clean_path( cleanpath, path ); -- cgit