diff options
Diffstat (limited to 'source3/smbd/nttrans.c')
| -rw-r--r-- | source3/smbd/nttrans.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 839eb7bb27..96e2c18bc0 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -2827,8 +2827,8 @@ int reply_nttrans(connection_struct *conn,  		return ERROR_DOS(ERRSRV,ERRaccess);  	} -	if (!NT_STATUS_IS_OK(allow_new_trans(conn->pending_trans, -					     SVAL(inbuf, smb_mid)))) { +	result = allow_new_trans(conn->pending_trans, SVAL(inbuf, smb_mid)); +	if (!NT_STATUS_IS_OK(result)) {  		DEBUG(2, ("Got invalid nttrans request: %s\n", nt_errstr(result)));  		END_PROFILE(SMBnttrans);  		return ERROR_NT(result);  | 
