[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r28602 - gnunet/src/identity
From: |
gnunet |
Subject: |
[GNUnet-SVN] r28602 - gnunet/src/identity |
Date: |
Wed, 14 Aug 2013 00:44:32 +0200 |
Author: grothoff
Date: 2013-08-14 00:44:32 +0200 (Wed, 14 Aug 2013)
New Revision: 28602
Modified:
gnunet/src/identity/identity_api.c
Log:
-dead code elimination, and docu
Modified: gnunet/src/identity/identity_api.c
===================================================================
--- gnunet/src/identity/identity_api.c 2013-08-13 22:43:18 UTC (rev 28601)
+++ gnunet/src/identity/identity_api.c 2013-08-13 22:44:32 UTC (rev 28602)
@@ -398,13 +398,11 @@
reschedule_connect (h);
return;
}
+ /* Note: we know which service this should be for, so we're not
+ really using 'str' henceforth */
GNUNET_CRYPTO_ecc_key_get_public (&sdm->private_key,
&pub);
GNUNET_CRYPTO_hash (&pub, sizeof (pub), &id);
- if (0 == name_len)
- str = NULL;
- else
- str = (const char *) &sdm[1];
ego = GNUNET_CONTAINER_multihashmap_get (h->egos,
&id);
if (NULL == ego)
@@ -417,6 +415,7 @@
GNUNET_CONTAINER_DLL_remove (h->op_head,
h->op_tail,
op);
+ GNUNET_free (ego->name);
if (NULL != op->cb)
op->cb (op->cls,
ego,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r28602 - gnunet/src/identity,
gnunet <=