gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r28100 - gnunet/src/identity


From: gnunet
Subject: [GNUnet-SVN] r28100 - gnunet/src/identity
Date: Wed, 17 Jul 2013 01:18:47 +0200

Author: grothoff
Date: 2013-07-17 01:18:47 +0200 (Wed, 17 Jul 2013)
New Revision: 28100

Modified:
   gnunet/src/identity/gnunet-identity.c
   gnunet/src/identity/identity_api.c
   gnunet/src/identity/test_identity.c
Log:
-doxygen

Modified: gnunet/src/identity/gnunet-identity.c
===================================================================
--- gnunet/src/identity/gnunet-identity.c       2013-07-16 21:33:21 UTC (rev 
28099)
+++ gnunet/src/identity/gnunet-identity.c       2013-07-16 23:18:47 UTC (rev 
28100)
@@ -122,7 +122,7 @@
  *
  * @param cls pointer to operation handle
  * @param ego ego handle
- * @param ego_ctx context for application to store data for this ego
+ * @param ctx context for application to store data for this ego
  *                 (during the lifetime of this process, initially NULL)
  * @param identifier identifier assigned by the user for this ego
  */
@@ -170,7 +170,7 @@
  *
  * @param cls closure
  * @param ego ego handle
- * @param ego_ctx context for application to store data for this ego
+ * @param ctx context for application to store data for this ego
  *                 (during the lifetime of this process, initially NULL)
  * @param identifier identifier assigned by the user for this ego,
  *                   NULL if the user just deleted the ego and it

Modified: gnunet/src/identity/identity_api.c
===================================================================
--- gnunet/src/identity/identity_api.c  2013-07-16 21:33:21 UTC (rev 28099)
+++ gnunet/src/identity/identity_api.c  2013-07-16 23:18:47 UTC (rev 28100)
@@ -504,6 +504,8 @@
   GNUNET_assert (NULL == h->th);
   if (NULL == op)
     return;
+  if (NULL == h->client)
+    return;
   h->th = GNUNET_CLIENT_notify_transmit_ready (h->client,
                                               ntohs (op->msg->size),
                                               GNUNET_TIME_UNIT_FOREVER_REL,

Modified: gnunet/src/identity/test_identity.c
===================================================================
--- gnunet/src/identity/test_identity.c 2013-07-16 21:33:21 UTC (rev 28099)
+++ gnunet/src/identity/test_identity.c 2013-07-16 23:18:47 UTC (rev 28100)
@@ -175,6 +175,7 @@
   endbadly_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, 
                                                &endbadly, NULL); 
   h = GNUNET_IDENTITY_connect (cfg, &notification_cb, NULL);
+  GNUNET_assert (NULL != h);
   op = GNUNET_IDENTITY_create (h,
                               "test-id",
                               &create_cb,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]