From: Simon Ruderich Date: Sun, 27 Feb 2011 01:47:56 +0000 (+0100) Subject: tlsproxy.c: Add more debug output. X-Git-Tag: 0.1~43 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=15a45914b3c48169ac49e775866814bcb09c3b7a;hp=d68c5b70dc46a20fc73251ccecf751ad8f1ee943;p=tlsproxy%2Ftlsproxy.git tlsproxy.c: Add more debug output. --- 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);