aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-01-25 15:09:34 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-01-25 15:09:34 +0000
commit49e84a08e2bbdcc421a24bfe1ccd9cc15846fe2b (patch)
tree8692c9595f50b3bedc057d4c816e0de21921ea17 /src/transport/plugin_transport_http.c
parentefb4b8bd6b8de4339a086dedec490dc3f01e8d5f (diff)
downloadgnunet-49e84a08e2bbdcc421a24bfe1ccd9cc15846fe2b.tar.gz
gnunet-49e84a08e2bbdcc421a24bfe1ccd9cc15846fe2b.zip
- clang
Diffstat (limited to 'src/transport/plugin_transport_http.c')
-rw-r--r--src/transport/plugin_transport_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c
index 0bfa82123..684612617 100644
--- a/src/transport/plugin_transport_http.c
+++ b/src/transport/plugin_transport_http.c
@@ -723,7 +723,7 @@ http_plugin_disconnect (void *cls, const struct GNUNET_PeerIdentity *target)
723 GNUNET_CONTAINER_DLL_remove (plugin->head, plugin->tail, s); 723 GNUNET_CONTAINER_DLL_remove (plugin->head, plugin->tail, s);
724 724
725 struct HTTP_Message *msg = s->msg_head; 725 struct HTTP_Message *msg = s->msg_head;
726 struct HTTP_Message *tmp = s->msg_head; 726 struct HTTP_Message *tmp = NULL;
727 727
728 while (msg != NULL) 728 while (msg != NULL)
729 { 729 {
@@ -1495,7 +1495,7 @@ LIBGNUNET_PLUGIN_TRANSPORT_DONE (void *cls)
1495 GNUNET_CONTAINER_DLL_remove (plugin->head, plugin->tail, s); 1495 GNUNET_CONTAINER_DLL_remove (plugin->head, plugin->tail, s);
1496 1496
1497 struct HTTP_Message *msg = s->msg_head; 1497 struct HTTP_Message *msg = s->msg_head;
1498 struct HTTP_Message *tmp = s->msg_head; 1498 struct HTTP_Message *tmp = NULL;
1499 1499
1500 while (msg != NULL) 1500 while (msg != NULL)
1501 { 1501 {