From 5da4efc3e8b0a00eb84ab557aa9a965093fb5d8a Mon Sep 17 00:00:00 2001 From: starnakin Date: Wed, 19 Nov 2025 08:11:28 -0600 Subject: [PATCH] clean: rename print_ping -> print_recv --- src/print.c | 2 +- src/print.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/print.c b/src/print.c index e3a86c7..3aaba4e 100644 --- a/src/print.c +++ b/src/print.c @@ -49,7 +49,7 @@ void print_statistics(struct statistics const *stats, struct setting const *sett ); } -void print_ping(const struct setting *settings, const struct icmphdr *header, const struct timeval *start, const struct timeval *stop) +void print_recv(const struct setting *settings, const struct icmphdr *header, const struct timeval *start, const struct timeval *stop) { printf("%zu bytes from %s: icmp_seq=%d ttl=%zu time=%.3f ms\n", diff --git a/src/print.h b/src/print.h index 06455fc..1044abd 100644 --- a/src/print.h +++ b/src/print.h @@ -9,4 +9,4 @@ void print_err(const char *format, ...); void print_header(struct setting const *settings); void print_statistics(struct statistics const *stats, struct setting const *settings); -void print_ping(struct setting const *settings, struct icmphdr const *header, struct timeval const *start, struct timeval const *stop); \ No newline at end of file +void print_recv(struct setting const *settings, struct icmphdr const *header, struct timeval const *start, struct timeval const *stop); \ No newline at end of file