aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-04-11 15:30:38 +0000
committerBart Polot <bart@net.in.tum.de>2014-04-11 15:30:38 +0000
commit3aa42796fb4740b1d23723a6ca1347cae68a2412 (patch)
tree7b11c77447539bf7b15a4bb1f33b2ad1ccac346e /src
parent2c82cd5e565d025455610212cb36fbf7759ef50d (diff)
downloadgnunet-3aa42796fb4740b1d23723a6ca1347cae68a2412.tar.gz
gnunet-3aa42796fb4740b1d23723a6ca1347cae68a2412.zip
- log
Diffstat (limited to 'src')
-rw-r--r--src/mesh/gnunet-service-mesh_peer.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesh/gnunet-service-mesh_peer.c b/src/mesh/gnunet-service-mesh_peer.c
index 51ffe0bee..88e2051b1 100644
--- a/src/mesh/gnunet-service-mesh_peer.c
+++ b/src/mesh/gnunet-service-mesh_peer.c
@@ -897,12 +897,12 @@ queue_send (void *cls, size_t size, void *buf)
897 size_t data_size; 897 size_t data_size;
898 898
899 peer->core_transmit = NULL; 899 peer->core_transmit = NULL;
900 LOG (GNUNET_ERROR_TYPE_DEBUG, "* Queue send towards %s (max %u)\n", 900 LOG (GNUNET_ERROR_TYPE_DEBUG, "Queue send towards %s (max %u)\n",
901 GMP_2s (peer), size); 901 GMP_2s (peer), size);
902 902
903 if (NULL == buf || 0 == size) 903 if (NULL == buf || 0 == size)
904 { 904 {
905 LOG (GNUNET_ERROR_TYPE_DEBUG, "* Buffer size 0.\n"); 905 LOG (GNUNET_ERROR_TYPE_DEBUG, "Buffer size 0.\n");
906 return 0; 906 return 0;
907 } 907 }
908 908
@@ -932,7 +932,7 @@ queue_send (void *cls, size_t size, void *buf)
932 peer); 932 peer);
933 return 0; 933 return 0;
934 } 934 }
935 LOG (GNUNET_ERROR_TYPE_DEBUG, "* size %u ok\n", queue->size); 935 LOG (GNUNET_ERROR_TYPE_DEBUG, " size %u ok\n", queue->size);
936 936
937 /* Fill buf */ 937 /* Fill buf */
938 switch (queue->type) 938 switch (queue->type)
@@ -943,18 +943,18 @@ queue_send (void *cls, size_t size, void *buf)
943 case GNUNET_MESSAGE_TYPE_MESH_KX: 943 case GNUNET_MESSAGE_TYPE_MESH_KX:
944 case GNUNET_MESSAGE_TYPE_MESH_ACK: 944 case GNUNET_MESSAGE_TYPE_MESH_ACK:
945 case GNUNET_MESSAGE_TYPE_MESH_POLL: 945 case GNUNET_MESSAGE_TYPE_MESH_POLL:
946 LOG (GNUNET_ERROR_TYPE_DEBUG, "* raw: %s\n", GM_m2s (queue->type)); 946 LOG (GNUNET_ERROR_TYPE_DEBUG, " raw %s\n", GM_m2s (queue->type));
947 data_size = send_core_data_raw (queue->cls, size, buf); 947 data_size = send_core_data_raw (queue->cls, size, buf);
948 break; 948 break;
949 case GNUNET_MESSAGE_TYPE_MESH_CONNECTION_CREATE: 949 case GNUNET_MESSAGE_TYPE_MESH_CONNECTION_CREATE:
950 LOG (GNUNET_ERROR_TYPE_DEBUG, "* path create\n"); 950 LOG (GNUNET_ERROR_TYPE_DEBUG, " path create\n");
951 if (GMC_is_origin (c, GNUNET_YES)) 951 if (GMC_is_origin (c, GNUNET_YES))
952 data_size = send_core_connection_create (queue->c, size, buf); 952 data_size = send_core_connection_create (queue->c, size, buf);
953 else 953 else
954 data_size = send_core_data_raw (queue->cls, size, buf); 954 data_size = send_core_data_raw (queue->cls, size, buf);
955 break; 955 break;
956 case GNUNET_MESSAGE_TYPE_MESH_CONNECTION_ACK: 956 case GNUNET_MESSAGE_TYPE_MESH_CONNECTION_ACK:
957 LOG (GNUNET_ERROR_TYPE_DEBUG, "* path ack\n"); 957 LOG (GNUNET_ERROR_TYPE_DEBUG, " path ack\n");
958 if (GMC_is_origin (c, GNUNET_NO) || 958 if (GMC_is_origin (c, GNUNET_NO) ||
959 GMC_is_origin (c, GNUNET_YES)) 959 GMC_is_origin (c, GNUNET_YES))
960 data_size = send_core_connection_ack (queue->c, size, buf); 960 data_size = send_core_connection_ack (queue->c, size, buf);
@@ -970,7 +970,7 @@ queue_send (void *cls, size_t size, void *buf)
970 break; 970 break;
971 default: 971 default:
972 GNUNET_break (0); 972 GNUNET_break (0);
973 LOG (GNUNET_ERROR_TYPE_WARNING, "* type unknown: %u\n", queue->type); 973 LOG (GNUNET_ERROR_TYPE_WARNING, " type unknown: %u\n", queue->type);
974 data_size = 0; 974 data_size = 0;
975 } 975 }
976 976