diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-07-16 23:18:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-07-16 23:18:47 +0000 |
commit | 18df1a9c23a57cf8a60c90f286bac676056602ef (patch) | |
tree | 14e4c85af699ca575c6073c5a8495f3210c68104 /src | |
parent | e537c542fe0ea6a727a6a2da2233547662ee9302 (diff) | |
download | gnunet-18df1a9c23a57cf8a60c90f286bac676056602ef.tar.gz gnunet-18df1a9c23a57cf8a60c90f286bac676056602ef.zip |
-doxygen
Diffstat (limited to 'src')
-rw-r--r-- | src/identity/gnunet-identity.c | 4 | ||||
-rw-r--r-- | src/identity/identity_api.c | 2 | ||||
-rw-r--r-- | src/identity/test_identity.c | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/src/identity/gnunet-identity.c b/src/identity/gnunet-identity.c index c590ab701..721828b8b 100644 --- a/src/identity/gnunet-identity.c +++ b/src/identity/gnunet-identity.c | |||
@@ -122,7 +122,7 @@ delete_finished (void *cls, | |||
122 | * | 122 | * |
123 | * @param cls pointer to operation handle | 123 | * @param cls pointer to operation handle |
124 | * @param ego ego handle | 124 | * @param ego ego handle |
125 | * @param ego_ctx context for application to store data for this ego | 125 | * @param ctx context for application to store data for this ego |
126 | * (during the lifetime of this process, initially NULL) | 126 | * (during the lifetime of this process, initially NULL) |
127 | * @param identifier identifier assigned by the user for this ego | 127 | * @param identifier identifier assigned by the user for this ego |
128 | */ | 128 | */ |
@@ -170,7 +170,7 @@ create_finished (void *cls, | |||
170 | * | 170 | * |
171 | * @param cls closure | 171 | * @param cls closure |
172 | * @param ego ego handle | 172 | * @param ego ego handle |
173 | * @param ego_ctx context for application to store data for this ego | 173 | * @param ctx context for application to store data for this ego |
174 | * (during the lifetime of this process, initially NULL) | 174 | * (during the lifetime of this process, initially NULL) |
175 | * @param identifier identifier assigned by the user for this ego, | 175 | * @param identifier identifier assigned by the user for this ego, |
176 | * NULL if the user just deleted the ego and it | 176 | * NULL if the user just deleted the ego and it |
diff --git a/src/identity/identity_api.c b/src/identity/identity_api.c index 4b4c8c3a1..6ca71b09f 100644 --- a/src/identity/identity_api.c +++ b/src/identity/identity_api.c | |||
@@ -504,6 +504,8 @@ transmit_next (struct GNUNET_IDENTITY_Handle *h) | |||
504 | GNUNET_assert (NULL == h->th); | 504 | GNUNET_assert (NULL == h->th); |
505 | if (NULL == op) | 505 | if (NULL == op) |
506 | return; | 506 | return; |
507 | if (NULL == h->client) | ||
508 | return; | ||
507 | h->th = GNUNET_CLIENT_notify_transmit_ready (h->client, | 509 | h->th = GNUNET_CLIENT_notify_transmit_ready (h->client, |
508 | ntohs (op->msg->size), | 510 | ntohs (op->msg->size), |
509 | GNUNET_TIME_UNIT_FOREVER_REL, | 511 | GNUNET_TIME_UNIT_FOREVER_REL, |
diff --git a/src/identity/test_identity.c b/src/identity/test_identity.c index 3712da3bd..4677949f9 100644 --- a/src/identity/test_identity.c +++ b/src/identity/test_identity.c | |||
@@ -175,6 +175,7 @@ run (void *cls, | |||
175 | endbadly_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, | 175 | endbadly_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, |
176 | &endbadly, NULL); | 176 | &endbadly, NULL); |
177 | h = GNUNET_IDENTITY_connect (cfg, ¬ification_cb, NULL); | 177 | h = GNUNET_IDENTITY_connect (cfg, ¬ification_cb, NULL); |
178 | GNUNET_assert (NULL != h); | ||
178 | op = GNUNET_IDENTITY_create (h, | 179 | op = GNUNET_IDENTITY_create (h, |
179 | "test-id", | 180 | "test-id", |
180 | &create_cb, | 181 | &create_cb, |