aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-08-16 14:17:19 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-08-16 14:17:19 +0000
commitc317be1af381424a536047d11cb6ee93b9812e07 (patch)
tree796645f5006e2f9ee62fda290d36e283955116f7 /src/transport/plugin_transport_http.c
parent5d388f7bb97dc868622b097c589a24e298bf14fa (diff)
downloadgnunet-c317be1af381424a536047d11cb6ee93b9812e07.tar.gz
gnunet-c317be1af381424a536047d11cb6ee93b9812e07.zip
fixing bugs
Diffstat (limited to 'src/transport/plugin_transport_http.c')
-rw-r--r--src/transport/plugin_transport_http.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c
index fe43ca0d8..64ef8849b 100644
--- a/src/transport/plugin_transport_http.c
+++ b/src/transport/plugin_transport_http.c
@@ -799,7 +799,7 @@ mdh_access_cb (void *cls,
799 799
800 int res = GNUNET_NO; 800 int res = GNUNET_NO;
801 int send_error_to_client; 801 int send_error_to_client;
802 void * addr; 802 void * addr = NULL;
803 size_t addr_len = 0 ; 803 size_t addr_len = 0 ;
804 804
805 GNUNET_assert(cls !=NULL); 805 GNUNET_assert(cls !=NULL);
@@ -883,6 +883,9 @@ mdh_access_cb (void *cls,
883 addr_len = sizeof(struct IPv6HttpAddress); 883 addr_len = sizeof(struct IPv6HttpAddress);
884 } 884 }
885 885
886 GNUNET_assert (addr != NULL);
887 GNUNET_assert (addr_len != 0);
888
886 ps = NULL; 889 ps = NULL;
887 /* only inbound sessions here */ 890 /* only inbound sessions here */
888 891