summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-05-15 20:09:27 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-05-15 20:09:27 +0200
commit706c38e6ad7ee354e83f7f08e3e0c9584ce15631 (patch)
tree9d30d70f9d51ec7bc75516f06eec342800444de4
parent7dc8165b9b94b23cbb5bf23977d1cd7523ecb16e (diff)
-always return on null ego
-rw-r--r--src/reclaim/plugin_rest_reclaim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reclaim/plugin_rest_reclaim.c b/src/reclaim/plugin_rest_reclaim.c
index 80d6ca976..a2f8d96b2 100644
--- a/src/reclaim/plugin_rest_reclaim.c
+++ b/src/reclaim/plugin_rest_reclaim.c
@@ -1364,7 +1364,7 @@ list_ego (void *cls,
struct EgoEntry *ego_entry;
struct GNUNET_IDENTITY_PublicKey pk;
- if ((NULL == ego) && (ID_REST_STATE_INIT == state))
+ if (NULL == ego)
{
state = ID_REST_STATE_POST_INIT;
return;