[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r9628 - GNUnet/src/applications/identity
From: |
gnunet |
Subject: |
[GNUnet-SVN] r9628 - GNUnet/src/applications/identity |
Date: |
Sun, 22 Nov 2009 11:37:41 -0700 |
Author: grothoff
Date: 2009-11-22 11:37:41 -0700 (Sun, 22 Nov 2009)
New Revision: 9628
Modified:
GNUnet/src/applications/identity/identity.c
Log:
more detailed error reporting
Modified: GNUnet/src/applications/identity/identity.c
===================================================================
--- GNUnet/src/applications/identity/identity.c 2009-11-22 17:30:29 UTC (rev
9627)
+++ GNUnet/src/applications/identity/identity.c 2009-11-22 18:37:41 UTC (rev
9628)
@@ -1255,14 +1255,20 @@
however, we can request it briefly here */
tapi = coreAPI->service_request ("transport");
if (tapi == NULL)
- return GNUNET_SYSERR;
+ {
+ GNUNET_GE_BREAK (NULL, 0);
+ return GNUNET_SYSERR;
+ }
hello = NULL;
pos = 0;
while ((hello == NULL) && (types[pos] != 0))
hello = tapi->hello_create (types[pos++]);
coreAPI->service_release (tapi);
if (hello == NULL)
- return GNUNET_SYSERR;
+ {
+ GNUNET_GE_BREAK (NULL, 0);
+ return GNUNET_SYSERR;
+ }
hello->header.type = htons (GNUNET_CS_PROTO_IDENTITY_HELLO);
ret = coreAPI->cs_send_message (sock, &hello->header, GNUNET_YES);
GNUNET_free (hello);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r9628 - GNUnet/src/applications/identity,
gnunet <=