aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet_connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet/gnunet-service-cadet_connection.c')
-rw-r--r--src/cadet/gnunet-service-cadet_connection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c
index 3e1f779ad..637e8663b 100644
--- a/src/cadet/gnunet-service-cadet_connection.c
+++ b/src/cadet/gnunet-service-cadet_connection.c
@@ -424,7 +424,7 @@ GCC_ack_expected (const struct GNUNET_CADET_ConnectionTunnelIdentifier *cid)
424 424
425 cc = GCC_lookup (cid); 425 cc = GCC_lookup (cid);
426 if (NULL == cc) 426 if (NULL == cc)
427 return; /* whopise, connection alredy down? */ 427 return; /* whopise, connection already down? */
428 cc->metrics.num_acked_transmissions++; 428 cc->metrics.num_acked_transmissions++;
429} 429}
430 430
@@ -444,7 +444,7 @@ GCC_ack_observed (const struct GNUNET_CADET_ConnectionTunnelIdentifier *cid)
444 444
445 cc = GCC_lookup (cid); 445 cc = GCC_lookup (cid);
446 if (NULL == cc) 446 if (NULL == cc)
447 return; /* whopise, connection alredy down? */ 447 return; /* whopise, connection already down? */
448 cc->metrics.num_successes++; 448 cc->metrics.num_successes++;
449} 449}
450 450
@@ -467,7 +467,7 @@ GCC_latency_observed (const struct GNUNET_CADET_ConnectionTunnelIdentifier *cid,
467 467
468 cc = GCC_lookup (cid); 468 cc = GCC_lookup (cid);
469 if (NULL == cc) 469 if (NULL == cc)
470 return; /* whopise, connection alredy down? */ 470 return; /* whopise, connection already down? */
471 GNUNET_STATISTICS_update (stats, "# latencies observed", 1, GNUNET_NO); 471 GNUNET_STATISTICS_update (stats, "# latencies observed", 1, GNUNET_NO);
472 cc->latency_datapoints++; 472 cc->latency_datapoints++;
473 if (cc->latency_datapoints >= 7) 473 if (cc->latency_datapoints >= 7)