summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-helper-transport-wlan-dummy.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-28 16:19:04 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-28 16:19:04 +0000
commit0e90e90f510428a7d3ed92add2cb4bf93595a6cf (patch)
treec24132b58679740328cc98e128602fc85f01d5c5 /src/transport/gnunet-helper-transport-wlan-dummy.c
parent2f4b20ea2c334ce412dbc1fe29253cc110765205 (diff)
-some code cleanup
Diffstat (limited to 'src/transport/gnunet-helper-transport-wlan-dummy.c')
-rw-r--r--src/transport/gnunet-helper-transport-wlan-dummy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/gnunet-helper-transport-wlan-dummy.c b/src/transport/gnunet-helper-transport-wlan-dummy.c
index c18216b1c..6fff758c5 100644
--- a/src/transport/gnunet-helper-transport-wlan-dummy.c
+++ b/src/transport/gnunet-helper-transport-wlan-dummy.c
@@ -59,12 +59,12 @@ sigfunc (int sig)
* @return number of bytes written
*/
static int
-send_mac_to_plugin (char *buffer, struct MacAddress *mac)
+send_mac_to_plugin (char *buffer, struct GNUNET_TRANSPORT_WLAN_MacAddress *mac)
{
struct GNUNET_TRANSPORT_WLAN_HelperControlMessage macmsg;
- memcpy (&macmsg.mac, (char *) mac, sizeof (struct MacAddress));
+ memcpy (&macmsg.mac, (char *) mac, sizeof (struct GNUNET_TRANSPORT_WLAN_MacAddress));
macmsg.hdr.size = htons (sizeof (struct GNUNET_TRANSPORT_WLAN_HelperControlMessage));
macmsg.hdr.type = htons (GNUNET_MESSAGE_TYPE_WLAN_HELPER_CONTROL);
@@ -165,7 +165,7 @@ main (int argc, char *argv[])
int retval;
struct GNUNET_SERVER_MessageStreamTokenizer *stdin_mst;
struct GNUNET_SERVER_MessageStreamTokenizer *file_in_mst;
- struct MacAddress macaddr;
+ struct GNUNET_TRANSPORT_WLAN_MacAddress macaddr;
if (2 != argc)
{