On Mon, Aug 04, 2003 at 03:00:40PM +0200, I�aki Fern�ndez wrote:
> Now I've got a fresh copy of qmail-1.03, added the latest qmail-ldap
> patch into it (20030801) and the qmail-errno patch. Same Makefile as the
> older one (with the default Makefile the older patch seems to compile
> well) and I get the following error:
> qmail-remote.c: In function `quit':
> qmail-remote.c:389: `wantcomp' undeclared (first use in this function)
> qmail-remote.c:389: (Each undeclared identifier is reported only once
> qmail-remote.c:389: for each function it appears in.)
> qmail-remote.c:390: `r' undeclared (first use in this function)
> qmail-remote.c:390: `stream' undeclared (first use in this function)
> qmail-remote.c:392: `num' undeclared (first use in this function)
> qmail-remote.c: In function `main':

andre forgot an #ifdef.

--- qmail-remote.c~     Mon Aug  4 15:24:32 2003
+++ qmail-remote.c      Mon Aug  4 15:24:32 2003
@@ -386,6 +386,7 @@
   outhost();
   out(append);
   out(".\n");
+#ifdef DATA_COMPRESS
   if (wantcomp == 1) {
          r = 100 - (int)(100.0*stream.total_out/stream.total_in);
          if (r < 0) {
@@ -396,6 +397,7 @@
          out("Dynamic data compression saved ");
          out(num); out("%.\n");
   }
+#endif
   outsmtptext();
   zerodie();
 }


-- 
http://2suck.net/hhwl.html - http://www.bsws.de/
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

Reply via email to