aboutsummaryrefslogtreecommitdiff
path: root/src/arm/arm_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-24 14:11:17 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-24 14:11:17 +0000
commit6e03d509075d2cd38fabab6568b4c2bf2451505e (patch)
tree245379e96866662db100eb35c75be1206f1f661b /src/arm/arm_api.c
parentc77bdc9b0fec7ce8201c5f3f5c915485abaf2dcd (diff)
downloadgnunet-6e03d509075d2cd38fabab6568b4c2bf2451505e.tar.gz
gnunet-6e03d509075d2cd38fabab6568b4c2bf2451505e.zip
-fixing misc format strings
Diffstat (limited to 'src/arm/arm_api.c')
-rw-r--r--src/arm/arm_api.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/arm/arm_api.c b/src/arm/arm_api.c
index ee699739a..1b83c3106 100644
--- a/src/arm/arm_api.c
+++ b/src/arm/arm_api.c
@@ -474,10 +474,10 @@ client_notify_handler (void *cls,
474/** 474/**
475 * Transmit the next message to the arm service. 475 * Transmit the next message to the arm service.
476 * 476 *
477 * @param cls closure with the 'struct GNUNET_ARM_Handle' 477 * @param cls closure with the `struct GNUNET_ARM_Handle`
478 * @param size number of bytes available in buf 478 * @param size number of bytes available in @a buf
479 * @param buf where the callee should write the message 479 * @param buf where the callee should write the message
480 * @return number of bytes written to buf 480 * @return number of bytes written to @a buf
481 */ 481 */
482static size_t 482static size_t
483transmit_arm_message (void *cls, size_t size, void *buf) 483transmit_arm_message (void *cls, size_t size, void *buf)
@@ -491,8 +491,8 @@ transmit_arm_message (void *cls, size_t size, void *buf)
491 491
492 notify_connection = GNUNET_NO; 492 notify_connection = GNUNET_NO;
493 LOG (GNUNET_ERROR_TYPE_DEBUG, 493 LOG (GNUNET_ERROR_TYPE_DEBUG,
494 "transmit_arm_message is running with %p buffer of size %lu. ARM is known to be %s\n", 494 "transmit_arm_message is running with %p buffer of size %lu. ARM is known to be %s\n",
495 buf, size, h->currently_down ? "unconnected" : "connected"); 495 buf, size, h->currently_down ? "unconnected" : "connected");
496 GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == h->reconnect_task); 496 GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == h->reconnect_task);
497 h->cth = NULL; 497 h->cth = NULL;
498 if ((GNUNET_YES == h->currently_down) && (NULL != buf)) 498 if ((GNUNET_YES == h->currently_down) && (NULL != buf))
@@ -512,7 +512,8 @@ transmit_arm_message (void *cls, size_t size, void *buf)
512 } 512 }
513 if (NULL == (cm = h->control_pending_head)) 513 if (NULL == (cm = h->control_pending_head))
514 { 514 {
515 LOG (GNUNET_ERROR_TYPE_DEBUG, "Queue is empty, not sending anything\n"); 515 LOG (GNUNET_ERROR_TYPE_DEBUG,
516 "Queue is empty, not sending anything\n");
516 msize = 0; 517 msize = 0;
517 goto end; 518 goto end;
518 } 519 }