On Thu, 3 Apr 2003, Gerrit Pape wrote: >Hello, >bincimap version 1.1.3 does not run under inetd on Debian. Previous >versions did. The reason is that bincimap-up writes a line to stderr on >normal operation. I believe this is not intended, and I don't know if >it hurts under xinetd. >The patch below fixes the problem for me.
It was not intended, rather a log line to confirm that the variable WITH_SSL was defined during testing. Thanks for the patch (really makes maintenance so much easier!). Andy :-) >Regards, Gerrit. > >diff -u -r1.2 bincimap-up.cc >--- src/bincimap-up.cc 2 Apr 2003 13:53:35 -0000 1.2 >+++ src/bincimap-up.cc 3 Apr 2003 08:55:32 -0000 >@@ -99,6 +99,8 @@ > IO &com = iofactory.get(1); > IO &logger = iofactory.get(2); > >+ logger.noFlushOnEndl(); >+ > #ifdef WITH_SSL > logger << "SSL Enabled!" << endl; > #else >@@ -106,8 +108,6 @@ > #endif > > Session &session = Session::getInstance(); >- >- logger.noFlushOnEndl(); > > session.setArgv(argv); > session.setArgc(argc); > -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | Nil desperandum

