summaryrefslogtreecommitdiffstats
path: root/apps/s_server.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-08-18 11:14:12 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-08-18 11:14:12 +0000
commit209abea1db1c8332fc44ffe1775ccfa9013ff4d1 (patch)
tree44ce5e94eedc2aec53e4ea6e72484c8a5932c029 /apps/s_server.c
parent250705e7b50e8d9ff4d7be7d2ad7774313451b31 (diff)
Stop unused variable warning on WIN32 et al.
Diffstat (limited to 'apps/s_server.c')
-rw-r--r--apps/s_server.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index 9ccf2f0a44..a5b1e91471 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -1750,9 +1750,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) || defined(OPENSSL_SYS_BEOS_R5)
struct timeval tv;
+#else
+ struct timeval *timeoutp;
#endif
if ((buf=OPENSSL_malloc(bufsize)) == NULL)