diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2007-06-11 21:06:11 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2007-06-11 21:06:11 +0000 |
commit | 0b07df0b82b9e16c72ef363a80abf187e7b8f22e (patch) | |
tree | 1da5096077a33b3ef34f33f86e8a4f17df6b658e /multi.c | |
parent | script comment changes (diff) | |
download | openvpn-0b07df0b82b9e16c72ef363a80abf187e7b8f22e.tar.xz |
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
Diffstat (limited to 'multi.c')
-rw-r--r-- | multi.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |