[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r21620 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r21620 - gnunet/src/transport |
Date: |
Tue, 29 May 2012 10:09:45 +0200 |
Author: wachs
Date: 2012-05-29 10:09:45 +0200 (Tue, 29 May 2012)
New Revision: 21620
Modified:
gnunet/src/transport/plugin_transport_http.c
gnunet/src/transport/plugin_transport_http_server.c
Log:
- fix for 0002383
Modified: gnunet/src/transport/plugin_transport_http.c
===================================================================
--- gnunet/src/transport/plugin_transport_http.c 2012-05-28 19:44:37 UTC
(rev 21619)
+++ gnunet/src/transport/plugin_transport_http.c 2012-05-29 08:09:45 UTC
(rev 21620)
@@ -601,8 +601,6 @@
s->msg_tk = NULL;
}
GNUNET_free (s->addr);
- GNUNET_free_non_null (s->server_recv);
- GNUNET_free_non_null (s->server_send);
GNUNET_free (s);
}
Modified: gnunet/src/transport/plugin_transport_http_server.c
===================================================================
--- gnunet/src/transport/plugin_transport_http_server.c 2012-05-28 19:44:37 UTC
(rev 21619)
+++ gnunet/src/transport/plugin_transport_http_server.c 2012-05-29 08:09:45 UTC
(rev 21620)
@@ -769,9 +769,8 @@
"Server: %X peer `%s' GET on address `%s' disconnected\n",
s->server_send, GNUNET_i2s (&s->target),
http_plugin_address_to_string (NULL, s->addr,
s->addrlen));
-
+ GNUNET_free (s->server_send);
s->server_send = NULL;
-
if (s->server_recv != NULL)
{
tc = s->server_recv;
@@ -788,6 +787,7 @@
"Server: %X peer `%s' PUT on address `%s' disconnected\n",
s->server_recv, GNUNET_i2s (&s->target),
http_plugin_address_to_string (NULL, s->addr,
s->addrlen));
+ GNUNET_free (s->server_recv);
s->server_recv = NULL;
if (s->server_send != NULL)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r21620 - gnunet/src/transport,
gnunet <=