diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-08-29 13:09:25 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-08-29 13:09:25 +0000 |
commit | a4b74ef335873379d374d372bcce7c4228095bd5 (patch) | |
tree | 7948e9ea9d8f3fc9d2d767fd2490c8a1855d1129 /src/transport/plugin_transport_wlan.c | |
parent | 19a28dc192c59da09b2668c33fbbcce421f5a05d (diff) | |
download | gnunet-a4b74ef335873379d374d372bcce7c4228095bd5.tar.gz gnunet-a4b74ef335873379d374d372bcce7c4228095bd5.zip |
only use control pipe with helpers IF the helper actually supports it
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index 780c60479..ae1c9f972 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c | |||
@@ -1722,7 +1722,8 @@ libgnunet_plugin_transport_wlan_init (void *cls) | |||
1722 | plugin->helper_argv[0] = (char *) "gnunet-helper-transport-wlan"; | 1722 | plugin->helper_argv[0] = (char *) "gnunet-helper-transport-wlan"; |
1723 | plugin->helper_argv[1] = interface; | 1723 | plugin->helper_argv[1] = interface; |
1724 | plugin->helper_argv[2] = NULL; | 1724 | plugin->helper_argv[2] = NULL; |
1725 | plugin->suid_helper = GNUNET_HELPER_start ("gnunet-helper-transport-wlan", | 1725 | plugin->suid_helper = GNUNET_HELPER_start (GNUNET_NO, |
1726 | "gnunet-helper-transport-wlan", | ||
1726 | plugin->helper_argv, | 1727 | plugin->helper_argv, |
1727 | &handle_helper_message, | 1728 | &handle_helper_message, |
1728 | NULL, | 1729 | NULL, |
@@ -1732,7 +1733,8 @@ libgnunet_plugin_transport_wlan_init (void *cls) | |||
1732 | plugin->helper_argv[0] = (char *) "gnunet-helper-transport-wlan-dummy"; | 1733 | plugin->helper_argv[0] = (char *) "gnunet-helper-transport-wlan-dummy"; |
1733 | plugin->helper_argv[1] = (char *) "1"; | 1734 | plugin->helper_argv[1] = (char *) "1"; |
1734 | plugin->helper_argv[2] = NULL; | 1735 | plugin->helper_argv[2] = NULL; |
1735 | plugin->suid_helper = GNUNET_HELPER_start ("gnunet-helper-transport-wlan-dummy", | 1736 | plugin->suid_helper = GNUNET_HELPER_start (GNUNET_NO, |
1737 | "gnunet-helper-transport-wlan-dummy", | ||
1736 | plugin->helper_argv, | 1738 | plugin->helper_argv, |
1737 | &handle_helper_message, | 1739 | &handle_helper_message, |
1738 | NULL, | 1740 | NULL, |
@@ -1742,7 +1744,8 @@ libgnunet_plugin_transport_wlan_init (void *cls) | |||
1742 | plugin->helper_argv[0] = (char *) "gnunet-helper-transport-wlan-dummy"; | 1744 | plugin->helper_argv[0] = (char *) "gnunet-helper-transport-wlan-dummy"; |
1743 | plugin->helper_argv[1] = (char *) "2"; | 1745 | plugin->helper_argv[1] = (char *) "2"; |
1744 | plugin->helper_argv[2] = NULL; | 1746 | plugin->helper_argv[2] = NULL; |
1745 | plugin->suid_helper = GNUNET_HELPER_start ("gnunet-helper-transport-wlan-dummy", | 1747 | plugin->suid_helper = GNUNET_HELPER_start (GNUNET_NO, |
1748 | "gnunet-helper-transport-wlan-dummy", | ||
1746 | plugin->helper_argv, | 1749 | plugin->helper_argv, |
1747 | &handle_helper_message, | 1750 | &handle_helper_message, |
1748 | NULL, | 1751 | NULL, |