diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-12-21 14:22:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-12-21 14:22:38 +0000 |
commit | 9eb06f96cc7c8f9124b90fef62d7738e1684db78 (patch) | |
tree | 8fdfc781fabec007cd4303d51b5236f3897c0229 /src/transport | |
parent | a034b14d640e28349fa5fde7647803e4b45d3ee5 (diff) | |
download | gnunet-9eb06f96cc7c8f9124b90fef62d7738e1684db78.tar.gz gnunet-9eb06f96cc7c8f9124b90fef62d7738e1684db78.zip |
fix
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/gnunet-service-transport.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 293e9c637..e9a30145f 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c | |||
@@ -4899,7 +4899,6 @@ handle_start (void *cls, | |||
4899 | GNUNET_break(0); | 4899 | GNUNET_break(0); |
4900 | } | 4900 | } |
4901 | cim = GNUNET_malloc (size); | 4901 | cim = GNUNET_malloc (size); |
4902 | |||
4903 | cim->header.size = htons (size); | 4902 | cim->header.size = htons (size); |
4904 | cim->header.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT); | 4903 | cim->header.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT); |
4905 | cim->ats_count = htonl(ats_count); | 4904 | cim->ats_count = htonl(ats_count); |
@@ -4919,9 +4918,9 @@ handle_start (void *cls, | |||
4919 | } | 4918 | } |
4920 | n = n->next; | 4919 | n = n->next; |
4921 | } | 4920 | } |
4921 | GNUNET_free (cim); | ||
4922 | } | 4922 | } |
4923 | GNUNET_SERVER_receive_done (client, GNUNET_OK); | 4923 | GNUNET_SERVER_receive_done (client, GNUNET_OK); |
4924 | GNUNET_free(cim); | ||
4925 | } | 4924 | } |
4926 | 4925 | ||
4927 | 4926 | ||