From 822da9ccc36e6e51790ef4a6af678392c1582041 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 20 Sep 2009 13:26:46 +0000 Subject: [PATCH] Stop unused variable warning. --- apps/s_server.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/s_server.c b/apps/s_server.c index cedd64c43c..f1232fd3dc 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -1594,9 +1594,11 @@ static int sv_body(char *hostname, int s, unsigned char *context) unsigned long l; SSL *con=NULL; BIO *sbio; - struct timeval timeout, *timeoutp; + struct timeval timeout; #if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_NETWARE) struct timeval tv; +#else + struct timeval *timeoutp; #endif if ((buf=OPENSSL_malloc(bufsize)) == NULL) -- 2.25.1