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.

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);

Reply via email to