renaming GNUNET_CRYPTO_get_host_identity to GNUNET_CRYPTO_get_peer_identity
[oweals/gnunet.git] / src / conversation / gnunet-service-conversation.c
index 4b06ef3e8869d334268be9a311c720370b110891..85bbc04816dc3422015d1d288ea105c6eec1a7d1 100644 (file)
@@ -295,7 +295,7 @@ handle_client_pickup_message (void *cls,
   }
   line->status = LS_CALLEE_CONNECTED;
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-              "Sending PICK_UP message to client with meta data `%s'\n",
+              "Sending PICK_UP message to mesh with meta data `%s'\n",
               meta);
   e = GNUNET_MQ_msg_extra (mppm,
                            len,
@@ -527,7 +527,7 @@ handle_client_call_message (void *cls,
  * @param cls the `struct Line` we are transmitting for
  * @param size number of bytes available in @a buf
  * @param buf where to copy the data
- * @return number of bytes copied to @buf
+ * @return number of bytes copied to @buf
  */
 static size_t
 transmit_line_audio (void *cls,
@@ -880,7 +880,7 @@ handle_mesh_pickup_message (void *cls,
   pick->header.type = htons (GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_PICKED_UP);
   memcpy (&pick[1], metadata, len);
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-              "Sending PICK UP message via mesh with metadata `%s'\n",
+              "Sending PICKED UP message to client with metadata `%s'\n",
               metadata);
   GNUNET_SERVER_notification_context_unicast (nc,
                                               line->client,
@@ -895,7 +895,7 @@ handle_mesh_pickup_message (void *cls,
   if (NULL == line->tunnel_unreliable)
   {
     GNUNET_break (0);
-  }
+  } 
   return GNUNET_OK;
 }
 
@@ -1231,7 +1231,7 @@ run (void *cls,
 
   cfg = c;
   GNUNET_assert (GNUNET_OK ==
-                 GNUNET_CRYPTO_get_host_identity (cfg,
+                 GNUNET_CRYPTO_get_peer_identity (cfg,
                                                   &my_identity));
   mesh = GNUNET_MESH_connect (cfg,
                              NULL,