mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-12-31 05:39:10 +03:00
remove useless check
This commit is contained in:
@@ -580,7 +580,7 @@ int Multipart::process_part_data(std::string *error, size_t offset) {
|
||||
m_mpp->m_tmp_file->Open();
|
||||
|
||||
/* do we have an opened file? */
|
||||
if (!m_mpp->m_tmp_file || m_mpp->m_tmp_file->getFd() < 0) {
|
||||
if (m_mpp->m_tmp_file->getFd() < 0) {
|
||||
ms_dbg_a(m_transaction, 1,
|
||||
"Multipart: Failed to create file: " \
|
||||
+ m_mpp->m_tmp_file->getFilename());
|
||||
|
||||
Reference in New Issue
Block a user