Skip to content

Commit

Permalink
Merge pull request #1381 from pi-hole/development
Browse files Browse the repository at this point in the history
Pi-hole FTL v5.16.1
  • Loading branch information
PromoFaux authored Jul 8, 2022
2 parents bc5077d + d23b6ac commit 5ff5bed
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/api/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,8 @@ void *telnet_listening_thread_IPv4(void *args)
continue;
}

logg("Accepting new telnet connection at socket %d", csck);
if(config.debug & DEBUG_API)
logg("Accepting new telnet connection at socket %d", csck);

// Allocate memory used to transport client socket ID to client listening thread
int *newsock;
Expand All @@ -518,8 +519,8 @@ void *telnet_listening_thread_IPv4(void *args)
logg("WARNING: Unable to open telnet processing thread: %s", strerror(errno));
}
}

logg("Terminating IPv4 telnet thread");
if(config.debug & DEBUG_API)
logg("Terminating IPv4 telnet thread");
return NULL;
}

Expand Down

0 comments on commit 5ff5bed

Please sign in to comment.