[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r31909 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r31909 - gnunet/src/transport |
Date: |
Tue, 14 Jan 2014 18:05:05 +0100 |
Author: wachs
Date: 2014-01-14 18:05:05 +0100 (Tue, 14 Jan 2014)
New Revision: 31909
Modified:
gnunet/src/transport/plugin_transport_tcp.c
Log:
simplification for tcp plugin
Modified: gnunet/src/transport/plugin_transport_tcp.c
===================================================================
--- gnunet/src/transport/plugin_transport_tcp.c 2014-01-14 16:57:55 UTC (rev
31908)
+++ gnunet/src/transport/plugin_transport_tcp.c 2014-01-14 17:05:05 UTC (rev
31909)
@@ -2047,7 +2047,7 @@
t4.t4_port = s4->sin_port;
t4.ipv4_addr = s4->sin_addr.s_addr;
address = GNUNET_HELLO_address_allocate (&wm->clientIdentity,
- PLUGIN_NAME, &t4, sizeof(struct IPv4TcpAddress),
+ PLUGIN_NAME, &t4, sizeof(t4),
GNUNET_HELLO_ADDRESS_INFO_INBOUND);
}
else if (alen == sizeof(struct sockaddr_in6))
@@ -2058,7 +2058,7 @@
t6.t6_port = s6->sin6_port;
memcpy (&t6.ipv6_addr, &s6->sin6_addr, sizeof(struct in6_addr));
address = GNUNET_HELLO_address_allocate (&wm->clientIdentity,
- PLUGIN_NAME, &t6, sizeof(struct IPv6TcpAddress),
+ PLUGIN_NAME, &t6, sizeof (t6),
GNUNET_HELLO_ADDRESS_INFO_INBOUND);
}
session = create_session (plugin, address, client, GNUNET_NO);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r31909 - gnunet/src/transport,
gnunet <=