aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-06-16 15:59:02 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-06-16 15:59:02 +0000
commit4157c8256423c4cde80dcb3fbec992f683b8edf8 (patch)
tree62f9edd9cd602a1764622abcc65d7075e73636e2
parent7e9b0bef0dc2a0915f411b167f0253d9a35f796a (diff)
downloadgnunet-4157c8256423c4cde80dcb3fbec992f683b8edf8.tar.gz
gnunet-4157c8256423c4cde80dcb3fbec992f683b8edf8.zip
-rw-r--r--src/transport/plugin_transport_http.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c
index 752b6675b..a452d8dfe 100644
--- a/src/transport/plugin_transport_http.c
+++ b/src/transport/plugin_transport_http.c
@@ -353,8 +353,8 @@ static struct Session * find_session_by_curlhandle( CURL* handle )
353/** 353/**
354 * Create a new session 354 * Create a new session
355 * 355 *
356 * @param address address the peer is using inbound 356 * @param addr_in address the peer is using inbound
357 * @param address address the peer is using outbound 357 * @param addr_out address the peer is using outbound
358 * @param peer identity 358 * @param peer identity
359 * @return created session object 359 * @return created session object
360 */ 360 */
@@ -908,7 +908,7 @@ static size_t send_write_callback( void *stream, size_t size, size_t nmemb, void
908 * @param session session to send data to 908 * @param session session to send data to
909 * @return bytes sent to peer 909 * @return bytes sent to peer
910 */ 910 */
911static size_t send_prepare(struct Session* session ); 911static size_t send_prepare(struct Session* ses );
912 912
913/** 913/**
914 * Function setting up curl handle and selecting message to send 914 * Function setting up curl handle and selecting message to send
@@ -1061,7 +1061,7 @@ static void send_execute (void *cls,
1061 * @param ses session to send data to 1061 * @param ses session to send data to
1062 * @return bytes sent to peer 1062 * @return bytes sent to peer
1063 */ 1063 */
1064static size_t send_prepare(struct Session* session ) 1064static size_t send_prepare(struct Session* ses )
1065{ 1065{
1066 fd_set rs; 1066 fd_set rs;
1067 fd_set ws; 1067 fd_set ws;
@@ -1106,7 +1106,7 @@ static size_t send_prepare(struct Session* session )
1106 grs, 1106 grs,
1107 gws, 1107 gws,
1108 &send_execute, 1108 &send_execute,
1109 session); 1109 ses);
1110 GNUNET_NETWORK_fdset_destroy (gws); 1110 GNUNET_NETWORK_fdset_destroy (gws);
1111 GNUNET_NETWORK_fdset_destroy (grs); 1111 GNUNET_NETWORK_fdset_destroy (grs);
1112 1112