]> granicus.if.org Git - icinga2/commitdiff
Fixed typo that caused TLSClient::WantsToRead() to fail.
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 24 Apr 2012 17:53:47 +0000 (19:53 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 24 Apr 2012 17:53:47 +0000 (19:53 +0200)
base/tlsclient.cpp

index f51360ce0edd94b75bcdfc1d68c36ed4336cf8fc..05bfaf259fe3444d8b55ee73a6a5c64ae4f18546 100644 (file)
@@ -121,7 +121,7 @@ bool TLSClient::WantsToRead(void) const
        if (SSL_want_read(m_SSL.get()))
                return true;
 
-       return TCPClient::WantsToWrite();
+       return TCPClient::WantsToRead();
 }
 
 bool TLSClient::WantsToWrite(void) const