[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11218 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11218 - gnunet/src/util |
Date: |
Thu, 6 May 2010 14:26:09 +0200 |
Author: nevans
Date: 2010-05-06 14:26:09 +0200 (Thu, 06 May 2010)
New Revision: 11218
Modified:
gnunet/src/util/client.c
Log:
verbose debugging
Modified: gnunet/src/util/client.c
===================================================================
--- gnunet/src/util/client.c 2010-05-06 12:13:18 UTC (rev 11217)
+++ gnunet/src/util/client.c 2010-05-06 12:26:09 UTC (rev 11218)
@@ -601,7 +601,7 @@
if ((msg == NULL) && (shutdown_ctx->confirmed != GNUNET_YES)) /* Means the
other side closed the connection and never confirmed a shutdown */
{
- GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Service handle shutdown before
ACK!\n");
+ GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Service handle shutdown before
ACK!\n");
if (shutdown_ctx->cont != NULL)
shutdown_ctx->cont(shutdown_ctx->cont_cls, GNUNET_SYSERR);
@@ -611,7 +611,7 @@
}
else if ((msg == NULL) && (shutdown_ctx->confirmed == GNUNET_YES))
{
- GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Service shutdown complete.\n");
+ GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Service shutdown complete.\n");
if (shutdown_ctx->cont != NULL)
shutdown_ctx->cont(shutdown_ctx->cont_cls, GNUNET_NO);
@@ -626,7 +626,7 @@
switch (ntohs(msg->type))
{
case GNUNET_MESSAGE_TYPE_SHUTDOWN_ACK:
- GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Received confirmation for service
shutdown.\n");
+ GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Received confirmation for
service shutdown.\n");
shutdown_ctx->confirmed = GNUNET_YES;
GNUNET_CLIENT_receive (shutdown_ctx->sock, &service_shutdown_handler,
shutdown_ctx, GNUNET_TIME_UNIT_FOREVER_REL);
break;
@@ -654,7 +654,7 @@
const struct GNUNET_SCHEDULER_TaskContext * tc)
{
struct ShutdownContext *shutdown_ctx = cls;
- fprintf(stderr, "service_shutdown_cancel called!\n");
+ GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "service_shutdown_cancel called!\n");
shutdown_ctx->cont(shutdown_ctx->cont_cls, GNUNET_SYSERR);
GNUNET_CLIENT_disconnect (shutdown_ctx->sock, GNUNET_NO);
GNUNET_free(shutdown_ctx);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11218 - gnunet/src/util,
gnunet <=