Ken Seefried writes:

Am I missing something? System is Debian stable, kept current with apt-get. Sqwebmail 3.5.0 is currently running on this system.

$ ./configure
--enable-https
--enable-softtimeout=3600
--enable-hardtimeout=7200
--enable-autopurge=7
--enable-cgibindir=/usr/lib/cgi-bin
--enable-imagedir=/var/www/webmail
--with-ispell=/usr/bin/ispell


Config.log attached.

...
Compiling gpg.c
Compiling import.c
Compiling libgpg.c
gpg.c: In function `dogpgsign':
gpg.c:730: parse error before `j'
gpg.c:733: `j' undeclared (first use in this function)
gpg.c:733: (Each undeclared identifier is reported only once
gpg.c:733: for each function it appears in.)
gpg.c:733: `k' undeclared (first use in this function)

Oops.


Index: gpglib/gpg.c
===================================================================
RCS file: /cvsroot/courier/libs/gpglib/gpg.c,v
retrieving revision 1.1
diff -U3 -r1.1 gpg.c
--- gpglib/gpg.c        2 Jun 2003 23:47:16 -0000       1.1
+++ gpglib/gpg.c        7 Jun 2003 14:14:02 -0000
@@ -651,6 +651,7 @@
        while (fgets(buf, sizeof(buf), signed_content_fp) != NULL)
        {
                char *p;
+               size_t j, k;
 
                if (convert_to_qp && in_headers &&
                    strncasecmp(buf, "content-transfer-encoding:", 26) == 0)
@@ -726,8 +727,6 @@
                }
 
                libmail_gpgmime_write(&gpg, buf, strlen(buf));
-
-               size_t j, k;
 
                p=buf;
                for (j=k=0; p[j]; j++)

Reply via email to