From 7789fa412d3dcb70ed06fdccbda65f2a3eef06ee Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 8 Apr 2006 02:33:24 +0000 Subject: r14973: req cannot be NULL in smb_raw_t2open_recv() (found by IBM checker) (This used to be commit c2cde823ee004b53707acd1390d25fa9856b5179) --- source4/libcli/raw/rawfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libcli') 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; -- cgit