From 0b07df0b82b9e16c72ef363a80abf187e7b8f22e Mon Sep 17 00:00:00 2001 From: james Date: Mon, 11 Jun 2007 21:06:11 +0000 Subject: [PATCH] Fixed a variable declaration that wasn't at the start of a block. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2026 e7ae566f-a301-0410-adde-c780ea21d3b5 --- multi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/multi.c b/multi.c index ee74a4679..fa924f1bd 100644 --- a/multi.c +++ b/multi.c @@ -408,8 +408,10 @@ multi_client_disconnect_setenv (struct multi_context *m, setenv_counter (mi->context.c2.es, "bytes_sent", mi->context.c2.link_write_bytes); /* setenv connection duration */ - const unsigned int duration = (unsigned int) now - mi->created; - setenv_unsigned (mi->context.c2.es, "time_duration", duration); + { + const unsigned int duration = (unsigned int) now - mi->created; + setenv_unsigned (mi->context.c2.es, "time_duration", duration); + } } static void -- 2.47.2