Skip to content

Commit

Permalink
Enable debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
laurivosandi committed Oct 5, 2024
1 parent b27c736 commit 041b2b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine AS build
RUN apk add alpine-sdk libtool alsa-lib-dev audiofile-dev linux-headers
ADD . .
RUN ./configure
RUN ./configure --enable-debugging
RUN make install

FROM alpine
Expand Down
4 changes: 2 additions & 2 deletions clients.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void dump_clients(void)
#endif
{
port = ntohs( clients->source.sin_port );
addr = ntohl( clients->source.sin_addr.s_addr );
uint32_t addr = ntohl( clients->source.sin_addr.s_addr );

printf( "(%02d) client from: %03u.%03u.%03u.%03u:%05d [%p]\n",
clients->fd, (unsigned int) addr >> 24,
Expand Down Expand Up @@ -176,7 +176,7 @@ int get_new_clients( int listen )
if (esd_use_tcpip) {

port = ntohs( incoming.sin_port );
addr = ntohl( incoming.sin_addr.s_addr );
uint32_t addr = ntohl( incoming.sin_addr.s_addr );

printf( "(%02d) new client from: %03u.%03u.%03u.%03u:%05d\n",
fd, (unsigned int) addr >> 24,
Expand Down

0 comments on commit 041b2b4

Please sign in to comment.