diff options
author | June McEnroe <june@causal.agency> | 2018-04-16 22:37:02 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-04-16 22:37:19 -0400 |
commit | 0ec89d0df5385cf40b204dff84ea47ded7985236 (patch) | |
tree | af718e3bbd7588cc060fe5669f2a650b3a93660b /bin/pbd.c | |
parent | Add 0 bind to brot (diff) | |
download | src-0ec89d0df5385cf40b204dff84ea47ded7985236.tar.gz src-0ec89d0df5385cf40b204dff84ea47ded7985236.zip |
Always hexadecimal in uppercase
I still haven't been able to actually test scheme's Linux console output...
Diffstat (limited to '')
-rw-r--r-- | bin/pbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pbd.c b/bin/pbd.c index de16d7eb..afe2a77e 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"); |