naked debug message
Wesley Griffin <wgriffin-XrPbb/[email protected]> Tue, 17 Jun 2003 14:21:26 -0400
| Newsgroups | gmane.network.net-policy.user |
|---|---|
| Message-ID | <[email protected]> |
I thought I'd be slick and use --enable-certificates
--enable-certificate-verification as I built np-plutoplus, which brings
up the question: what do those options enable? What I quickly found,
however, was a debug() call with no surrounding #ifdef. the patch below
allows np-plutoplus to compile completely.
--- payloads.c.old Mon Jun 16 11:32:31 2003
+++ payloads.c Tue Jun 17 14:20:21 2003
@@ -430,7 +430,9 @@
#ifdef TEST_CERT
derFilename = genFilename(st, "der", "their", "cr"); /* bwp */
+#ifdef DEBUG
debug(DEBUG_VERBOSE, "FFFF parseCR: generating filename: their cr
der\n");
+#endif /* DEBUG */
if ((fp = fopen(derFilename, "w")) == NULL)
{
log(1, "fopen() of file %s failed in parseCRPayld()",
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php