r14973: req cannot be NULL in smb_raw_t2open_recv() (found by IBM checker)
authorAndrew Tridgell <tridge@samba.org>
Sat, 8 Apr 2006 02:33:24 +0000 (02:33 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:00:48 +0000 (14:00 -0500)
(This used to be commit c2cde823ee004b53707acd1390d25fa9856b5179)

source4/libcli/raw/rawfile.c

index d889b500fb05ab908e291012657672fa8b620afd..2873011aa2731b506ceb7fc8e8eca7bb7a5e00f0 100644 (file)
@@ -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;