]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
src/tlsproxy.c: Initialize done with 0 for clarity.
authorSimon Ruderich <simon@ruderich.org>
Tue, 22 Mar 2011 16:09:15 +0000 (17:09 +0100)
committerSimon Ruderich <simon@ruderich.org>
Tue, 22 Mar 2011 16:09:15 +0000 (17:09 +0100)
src/tlsproxy.c

index d2b4506c00d26ad2c282aa51751324ec421f03d4..625ed0803e93fc05d96bed988d85c98c052e79b5 100644 (file)
@@ -59,7 +59,7 @@ GCRY_THREAD_OPTION_PTHREAD_IMPL;
 
 
 /* Server should shut down. Set by SIGINT handler. */
-static volatile int done;
+static volatile int done = 0;
 
 /* Number of threads. */
 static size_t thread_count;