diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-10 07:48:41 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-10 07:48:41 +0000 |
commit | f3ddecf43857f42021779f826a2973e6ca7c289e (patch) | |
tree | d9aabacff61ac6692559ba0066dc6e49f53938d7 /src/transport/plugin_transport_http_server.c | |
parent | 6b8400966a5e6c2194785b3a33f91b748cfa7b7b (diff) | |
download | gnunet-f3ddecf43857f42021779f826a2973e6ca7c289e.tar.gz gnunet-f3ddecf43857f42021779f826a2973e6ca7c289e.zip |
changed return type to enum
added get_network to template
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r-- | src/transport/plugin_transport_http_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c index dfa3a4998..2cd6eb660 100644 --- a/src/transport/plugin_transport_http_server.c +++ b/src/transport/plugin_transport_http_server.c | |||
@@ -3011,8 +3011,8 @@ const char *http_plugin_address_to_string (void *cls, | |||
3011 | * @param session the session | 3011 | * @param session the session |
3012 | * @return the network type in HBO or GNUNET_SYSERR | 3012 | * @return the network type in HBO or GNUNET_SYSERR |
3013 | */ | 3013 | */ |
3014 | int http_server_get_network (void *cls, | 3014 | static enum GNUNET_ATS_Network_Type |
3015 | void *session) | 3015 | http_server_get_network (void *cls, void *session) |
3016 | { | 3016 | { |
3017 | struct Session *s = (struct Session *) session; | 3017 | struct Session *s = (struct Session *) session; |
3018 | GNUNET_assert (NULL != s); | 3018 | GNUNET_assert (NULL != s); |