[gssdp/wip/pktinfo] wip



commit a54fabb6600f1522e815b6c3aefbabe47c4f726e
Author: Jens Georg <mail jensge org>
Date:   Sat Apr 5 20:29:13 2014 +0200

    wip

 libgssdp/gssdp-socket-functions.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgssdp/gssdp-socket-functions.c b/libgssdp/gssdp-socket-functions.c
index f1f3cd4..cd36a47 100644
--- a/libgssdp/gssdp-socket-functions.c
+++ b/libgssdp/gssdp-socket-functions.c
@@ -139,9 +139,9 @@ gssdp_socket_enable_info         (GSocket *socket,
                                   gboolean enable,
                                   GError **error)
 {
+#ifdef HAVE_PKTINFO
         /* Register the type so g_socket_control_message_will() will find it */
         g_object_unref (g_object_new (GSSDP_TYPE_PKTINFO_MESSAGE, NULL));
-#if 1
     return gssdp_socket_option_set (socket,
                                     IPPROTO_IP,
                                     IP_PKTINFO,
@@ -155,4 +155,4 @@ gssdp_socket_enable_info         (GSocket *socket,
 
     return TRUE;
 #endif
-}
\ No newline at end of file
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]