X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tlsproxy.c;fp=tlsproxy.c;h=8ca12f2fa38deadb69efcf5f735d8eb320baf94f;hb=15a45914b3c48169ac49e775866814bcb09c3b7a;hp=39b68df25632a98e153b1a4fbd2119cfe1b3cc50;hpb=d68c5b70dc46a20fc73251ccecf751ad8f1ee943;p=tlsproxy%2Ftlsproxy.git 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);