remove invalid notification

This commit is contained in:
John
2024-05-26 16:39:54 +02:00
parent 92e0faf352
commit d45c5a779f
+2 -2
View File
@@ -91,8 +91,8 @@ result_t FileTransport::open() {
} else { } else {
result = openInternal(); result = openInternal();
} }
if (m_listener != nullptr) { if (m_listener != nullptr && result == RESULT_OK) {
result = m_listener->notifyTransportStatus(result == RESULT_OK); result = m_listener->notifyTransportStatus(true);
} }
if (result != RESULT_OK) { if (result != RESULT_OK) {
close(); close();