changeset 186:068fce34e565

rtp-alloc-test: fix segfault
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 12 Mar 2023 08:41:10 -0800
parents 857d78c58f56
children 258932879f8b
files utils/rtp-alloc-test.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/utils/rtp-alloc-test.c	Sun Mar 12 00:14:20 2023 -0800
+++ b/utils/rtp-alloc-test.c	Sun Mar 12 08:41:10 2023 -0800
@@ -21,7 +21,7 @@
 	char *desc;
 	struct sockaddr_in *sin;
 {
-	printf("%s IP %s port %u\n", inet_ntoa(sin->sin_addr),
+	printf("%s IP %s port %u\n", desc, inet_ntoa(sin->sin_addr),
 		ntohs(sin->sin_port));
 }