From 15a45914b3c48169ac49e775866814bcb09c3b7a Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 27 Feb 2011 02:47:56 +0100 Subject: [PATCH] tlsproxy.c: Add more debug output. --- tlsproxy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tlsproxy.c b/tlsproxy.c index 39b68df..8ca12f2 100644 --- a/tlsproxy.c +++ b/tlsproxy.c @@ -120,6 +120,10 @@ int main(int argc, char **argv) { return EXIT_FAILURE; } +#ifdef DEBUG + printf("Listening for connections on port %d.\n", port); +#endif + for (;;) { /* Accept new connection. */ client_socket = accept(server_socket, NULL, NULL); -- 2.45.2