Hi,

On Tue, May 31, 2011 at 04:17:40PM +0300, Samuli Seppänen wrote:
> Signed-off-by: Gert Doering <g...@greenie.muc.de>
> Signed-off-by: Samuli Seppänen <sam...@openvpn.net>
> ---
>  socket.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/socket.c b/socket.c
> index 69be132..6659bcc 100644
> --- a/socket.c
> +++ b/socket.c
> @@ -647,8 +647,9 @@ update_remote (const char* host,
>        if (host && addr)
>          {
>            struct sockaddr_in6 sin6;
> +          int success;
>            CLEAR(sin6);
> -          int success = getaddr6 (
> +          success = getaddr6 (
>                                      
> sf2gaf(GETADDR_RESOLVE|GETADDR_UPDATE_MANAGEMENT_STATE, sockflags),

Well, ACK, obviously :-)

This is the usual windows compiler problem that doesn't permit variable
declarations "right in the middle of the code".

gert

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgpzHWF67qdug.pgp
Description: PGP signature

Reply via email to