diff options
Diffstat (limited to 'src/rps/test_rps.c')
-rw-r--r-- | src/rps/test_rps.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rps/test_rps.c b/src/rps/test_rps.c index de09b423f..ab132ec8a 100644 --- a/src/rps/test_rps.c +++ b/src/rps/test_rps.c | |||
@@ -1957,7 +1957,7 @@ profiler_cb (struct RPSPeer *rps_peer) | |||
1957 | } | 1957 | } |
1958 | 1958 | ||
1959 | /* Only request peer ids at one peer. | 1959 | /* Only request peer ids at one peer. |
1960 | * (It's the before-last because last one is target of the focussed attack.) | 1960 | * (It's the before-last because last one is target of the focused attack.) |
1961 | */ | 1961 | */ |
1962 | if (eval_peer == rps_peer) | 1962 | if (eval_peer == rps_peer) |
1963 | schedule_missing_requests (rps_peer); | 1963 | schedule_missing_requests (rps_peer); |
@@ -2306,7 +2306,7 @@ void | |||
2306 | compute_diversity () | 2306 | compute_diversity () |
2307 | { | 2307 | { |
2308 | uint32_t i; | 2308 | uint32_t i; |
2309 | /* ith entry represents the numer of occurrences in other peer's views */ | 2309 | /* ith entry represents the number of occurrences in other peer's views */ |
2310 | uint32_t *count_peers = GNUNET_new_array (num_peers, uint32_t); | 2310 | uint32_t *count_peers = GNUNET_new_array (num_peers, uint32_t); |
2311 | uint32_t views_total_size; | 2311 | uint32_t views_total_size; |
2312 | double expected; | 2312 | double expected; |
@@ -2596,8 +2596,8 @@ stat_str_2_type (const char *stat_str) | |||
2596 | { | 2596 | { |
2597 | return STAT_TYPE_SENT_PULL_REQ; | 2597 | return STAT_TYPE_SENT_PULL_REQ; |
2598 | } | 2598 | } |
2599 | else if (0 == strncmp ("# pull replys sent", stat_str, strlen ( | 2599 | else if (0 == strncmp ("# pull replies sent", stat_str, strlen ( |
2600 | "# pull replys sent"))) | 2600 | "# pull replies sent"))) |
2601 | { | 2601 | { |
2602 | return STAT_TYPE_SENT_PULL_REP; | 2602 | return STAT_TYPE_SENT_PULL_REP; |
2603 | } | 2603 | } |
@@ -2670,7 +2670,7 @@ stat_type_2_str (enum STAT_TYPE stat_type) | |||
2670 | return "# pull requests sent"; | 2670 | return "# pull requests sent"; |
2671 | 2671 | ||
2672 | case STAT_TYPE_SENT_PULL_REP: | 2672 | case STAT_TYPE_SENT_PULL_REP: |
2673 | return "# pull replys sent"; | 2673 | return "# pull replies sent"; |
2674 | 2674 | ||
2675 | case STAT_TYPE_RECV_PUSH_SEND: | 2675 | case STAT_TYPE_RECV_PUSH_SEND: |
2676 | return "# push message received"; | 2676 | return "# push message received"; |