summaryrefslogtreecommitdiff
path: root/vio/test-sslserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'vio/test-sslserver.c')
-rw-r--r--vio/test-sslserver.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/vio/test-sslserver.c b/vio/test-sslserver.c
index a9e28ac7a58..f0116a2817d 100644
--- a/vio/test-sslserver.c
+++ b/vio/test-sslserver.c
@@ -36,12 +36,14 @@ const char *VER="0.2";
const char *default_dbug_option="d:t:O,-";
#endif
+#if 0
static void
fatal_error( const char* r)
{
perror(r);
exit(0);
}
+#endif
typedef struct {
int sd;
@@ -70,13 +72,13 @@ do_ssl_stuff( TH_ARGS* args)
static void*
client_thread( void* arg)
{
- my_thread_init();
- do_ssl_stuff((TH_ARGS*)arg);
+ my_thread_init();
+ do_ssl_stuff((TH_ARGS*)arg);
+ return 0;
}
int
-main( int argc __attribute__((unused)),
- char** argv)
+main(int argc __attribute__((unused)), char** argv)
{
char server_key[] = "../SSL/server-key.pem",
server_cert[] = "../SSL/server-cert.pem";