From dcfce59492fb3003a61e161c2bbc32e2072c2ee4 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 16 Apr 2018 22:37:02 -0400 Subject: Always hexadecimal in uppercase I still haven't been able to actually test scheme's Linux console output... --- bin/pbd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/pbd.c') diff --git a/bin/pbd.c b/bin/pbd.c index 80ab036f..13ba62d3 100644 --- a/bin/pbd.c +++ b/bin/pbd.c @@ -59,7 +59,7 @@ static int pbd(void) { struct sockaddr_in addr = { .sin_family = AF_INET, .sin_port = htons(7062), - .sin_addr = { .s_addr = htonl(0x7f000001) }, + .sin_addr = { .s_addr = htonl(0x7F000001) }, }; error = bind(server, (struct sockaddr *)&addr, sizeof(addr)); if (error) err(EX_UNAVAILABLE, "bind"); @@ -93,7 +93,7 @@ static int pbdClient(void) { struct sockaddr_in addr = { .sin_family = AF_INET, .sin_port = htons(7062), - .sin_addr = { .s_addr = htonl(0x7f000001) }, + .sin_addr = { .s_addr = htonl(0x7F000001) }, }; int error = connect(client, (struct sockaddr *)&addr, sizeof(addr)); if (error) err(EX_UNAVAILABLE, "connect"); -- cgit 1.4.1