[icinga-checkins] icinga.org: icinga-core/master: Remove duplicate read after cherry pick

git at icinga.org git at icinga.org
Sun Oct 11 08:53:54 CEST 2009


Module: icinga-core
Branch: master
Commit: d5bebfb465604c9016cfbff1a5e1d8821950eec1
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=d5bebfb465604c9016cfbff1a5e1d8821950eec1

Author: Hendrik Baecker <andurin at process-zero.de>
Date:   Tue Sep 29 06:21:31 2009 +0200

Remove duplicate read after cherry pick

---

 module/idoutils/src/ido2db.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/module/idoutils/src/ido2db.c b/module/idoutils/src/ido2db.c
index 6ffc694..8a20aeb 100644
--- a/module/idoutils/src/ido2db.c
+++ b/module/idoutils/src/ido2db.c
@@ -1102,17 +1102,6 @@ int ndo2db_handle_client_connection(int sd){
 				syslog(LOG_ERR,"SSL read error\n");
 			}
 		}
-#endif
-
-#ifdef HAVE_SSL
-		if(use_ssl==NDO_FALSE)
-			result=read(sd,buf,sizeof(buf)-1);
-		else{
-			result=SSL_read(ssl,buf,sizeof(buf)-1);
-			if(result==-1 && (SSL_get_error(ssl,result)==SSL_ERROR_WANT_READ)){
-				syslog(LOG_ERR,"SSL read error\n");
-			}
-		}
 #else
 		result=read(sd,buf,sizeof(buf)-1);
 #endif





More information about the icinga-checkins mailing list