aboutsummaryrefslogtreecommitdiff
path: root/src/identity/gnunet-identity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/identity/gnunet-identity.c')
-rw-r--r--src/identity/gnunet-identity.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/identity/gnunet-identity.c b/src/identity/gnunet-identity.c
index 8dac356e4..c2c381604 100644
--- a/src/identity/gnunet-identity.c
+++ b/src/identity/gnunet-identity.c
@@ -104,7 +104,7 @@ shutdown_task (void *cls,
104 { 104 {
105 GNUNET_IDENTITY_cancel (delete_op); 105 GNUNET_IDENTITY_cancel (delete_op);
106 delete_op = NULL; 106 delete_op = NULL;
107 } 107 }
108 GNUNET_IDENTITY_disconnect (sh); 108 GNUNET_IDENTITY_disconnect (sh);
109 sh = NULL; 109 sh = NULL;
110} 110}
@@ -121,7 +121,7 @@ test_finished ()
121 (NULL == set_op) && 121 (NULL == set_op) &&
122 (NULL == set_ego) && 122 (NULL == set_ego) &&
123 (! list) && 123 (! list) &&
124 (! monitor) ) 124 (! monitor) )
125 GNUNET_SCHEDULER_shutdown (); 125 GNUNET_SCHEDULER_shutdown ();
126} 126}
127 127
@@ -201,11 +201,11 @@ set_done (void *cls,
201 * 'ego' does indicate an error (i.e. name is taken or no default 201 * 'ego' does indicate an error (i.e. name is taken or no default
202 * value is known). If 'ego' is non-NULL and if '*ctx' 202 * value is known). If 'ego' is non-NULL and if '*ctx'
203 * is set in those callbacks, the value WILL be passed to a subsequent 203 * is set in those callbacks, the value WILL be passed to a subsequent
204 * call to the identity callback of 'GNUNET_IDENTITY_connect' (if 204 * call to the identity callback of 'GNUNET_IDENTITY_connect' (if
205 * that one was not NULL). 205 * that one was not NULL).
206 * 206 *
207 * When an identity is renamed, this function is called with the 207 * When an identity is renamed, this function is called with the
208 * (known) ego but the NEW identifier. 208 * (known) ego but the NEW identifier.
209 * 209 *
210 * When an identity is deleted, this function is called with the 210 * When an identity is deleted, this function is called with the
211 * (known) ego and "NULL" for the 'identifier'. In this case, 211 * (known) ego and "NULL" for the 'identifier'. In this case,
@@ -232,7 +232,7 @@ print_ego (void *cls,
232 if ( (NULL != set_ego) && 232 if ( (NULL != set_ego) &&
233 (NULL != ego) && 233 (NULL != ego) &&
234 (NULL != identifier) && 234 (NULL != identifier) &&
235 (0 == strcmp (identifier, 235 (0 == strcmp (identifier,
236 set_ego)) ) 236 set_ego)) )
237 { 237 {
238 set_op = GNUNET_IDENTITY_set (sh, 238 set_op = GNUNET_IDENTITY_set (sh,
@@ -348,7 +348,7 @@ main (int argc, char *const *argv)
348 return 2; 348 return 2;
349 349
350 res = GNUNET_PROGRAM_run (argc, argv, "gnunet-identity", 350 res = GNUNET_PROGRAM_run (argc, argv, "gnunet-identity",
351 gettext_noop ("Maintain egos"), 351 gettext_noop ("Maintain egos"),
352 options, &run, 352 options, &run,
353 NULL); 353 NULL);
354 GNUNET_free ((void *) argv); 354 GNUNET_free ((void *) argv);