[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r7535 - libmicrohttpd/src/daemon
From: |
gnunet |
Subject: |
[GNUnet-SVN] r7535 - libmicrohttpd/src/daemon |
Date: |
Sat, 9 Aug 2008 10:53:01 -0600 (MDT) |
Author: lv-426
Date: 2008-08-09 10:53:01 -0600 (Sat, 09 Aug 2008)
New Revision: 7535
Modified:
libmicrohttpd/src/daemon/daemon.c
Log:
build issue fix
Modified: libmicrohttpd/src/daemon/daemon.c
===================================================================
--- libmicrohttpd/src/daemon/daemon.c 2008-08-09 12:03:50 UTC (rev 7534)
+++ libmicrohttpd/src/daemon/daemon.c 2008-08-09 16:53:01 UTC (rev 7535)
@@ -57,6 +57,7 @@
*/
#define DEBUG_CONNECT MHD_NO
+#if HTTPS_SUPPORT
/* TODO unite with code in gnutls_priority.c */
static int
MHD_init_daemon_certificate (struct MHD_Daemon *daemon)
@@ -166,6 +167,7 @@
return 0;
}
+#endif
/**
* Obtain the select sets for this daemon.
@@ -1203,7 +1205,7 @@
}
}
va_end (ap);
-
+#if HTTPS_SUPPORT
/* initialize HTTPS daemon certificate aspects & send / recv functions */
if (options & MHD_USE_SSL && MHD_TLS_init (retVal) != 0)
{
@@ -1213,7 +1215,7 @@
free (retVal);
return NULL;
}
-
+#endif
if (((0 != (options & MHD_USE_THREAD_PER_CONNECTION)) || (0 != (options
&
MHD_USE_SELECT_INTERNALLY)))
@@ -1245,9 +1247,6 @@
void *apc_cls,
MHD_AccessHandlerCallback dh, void *dh_cls, ...)
{
-
- gnutls_global_set_log_level (5);
-
struct MHD_Daemon *ret;
va_list ap;
va_start (ap, dh_cls);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r7535 - libmicrohttpd/src/daemon,
gnunet <=