[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r16687 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r16687 - gnunet/src/transport |
Date: |
Fri, 2 Sep 2011 13:31:38 +0200 |
Author: grothoff
Date: 2011-09-02 13:31:38 +0200 (Fri, 02 Sep 2011)
New Revision: 16687
Modified:
gnunet/src/transport/transport_api.c
Log:
fix
Modified: gnunet/src/transport/transport_api.c
===================================================================
--- gnunet/src/transport/transport_api.c 2011-09-02 11:21:00 UTC (rev
16686)
+++ gnunet/src/transport/transport_api.c 2011-09-02 11:31:38 UTC (rev
16687)
@@ -1203,14 +1203,13 @@
{
struct GNUNET_TRANSPORT_GetHelloHandle *hwl;
- if (handle->my_hello == NULL)
- return NULL;
hwl = GNUNET_malloc (sizeof (struct GNUNET_TRANSPORT_GetHelloHandle));
hwl->rec = rec;
hwl->rec_cls = rec_cls;
hwl->handle = handle;
GNUNET_CONTAINER_DLL_insert (handle->hwl_head, handle->hwl_tail, hwl);
- rec (rec_cls, (const struct GNUNET_MessageHeader *) handle->my_hello);
+ if (handle->my_hello != NULL)
+ rec (rec_cls, (const struct GNUNET_MessageHeader *) handle->my_hello);
return hwl;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r16687 - gnunet/src/transport,
gnunet <=