aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_udp.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-07-10 07:48:41 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-07-10 07:48:41 +0000
commitf3ddecf43857f42021779f826a2973e6ca7c289e (patch)
treed9aabacff61ac6692559ba0066dc6e49f53938d7 /src/transport/plugin_transport_udp.c
parent6b8400966a5e6c2194785b3a33f91b748cfa7b7b (diff)
downloadgnunet-f3ddecf43857f42021779f826a2973e6ca7c289e.tar.gz
gnunet-f3ddecf43857f42021779f826a2973e6ca7c289e.zip
changed return type to enum
added get_network to template
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r--src/transport/plugin_transport_udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c
index 565573081..ff9425c83 100644
--- a/src/transport/plugin_transport_udp.c
+++ b/src/transport/plugin_transport_udp.c
@@ -1434,8 +1434,8 @@ session_cmp_it (void *cls,
1434 * @param session the session 1434 * @param session the session
1435 * @return the network type in HBO or GNUNET_SYSERR 1435 * @return the network type in HBO or GNUNET_SYSERR
1436 */ 1436 */
1437int udp_get_network (void *cls, 1437static enum GNUNET_ATS_Network_Type
1438 void *session) 1438udp_get_network (void *cls, void *session)
1439{ 1439{
1440 struct Session *s = (struct Session *) session; 1440 struct Session *s = (struct Session *) session;
1441 1441