summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-04-08 02:33:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:00:48 -0500
commit7789fa412d3dcb70ed06fdccbda65f2a3eef06ee (patch)
treebfff2473e3920b29a5a0ec5edca94210cfeeb60d
parent4b6cec88ae28952095298fb4b4f720e29b37699b (diff)
downloadsamba-7789fa412d3dcb70ed06fdccbda65f2a3eef06ee.tar.gz
samba-7789fa412d3dcb70ed06fdccbda65f2a3eef06ee.tar.bz2
samba-7789fa412d3dcb70ed06fdccbda65f2a3eef06ee.zip
r14973: req cannot be NULL in smb_raw_t2open_recv() (found by IBM checker)
(This used to be commit c2cde823ee004b53707acd1390d25fa9856b5179)
-rw-r--r--source4/libcli/raw/rawfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/rawfile.c b/source4/libcli/raw/rawfile.c
index d889b500fb..2873011aa2 100644
--- a/source4/libcli/raw/rawfile.c
+++ b/source4/libcli/raw/rawfile.c
@@ -396,7 +396,7 @@ static struct smbcli_request *smb_raw_t2open_send(struct smbcli_tree *tree,
****************************************************************************/
static NTSTATUS smb_raw_t2open_recv(struct smbcli_request *req, TALLOC_CTX *mem_ctx, union smb_open *parms)
{
- struct smbcli_transport *transport = req?req->transport:NULL;
+ struct smbcli_transport *transport = req->transport;
struct smb_trans2 t2;
NTSTATUS status;