Re: PATCH: Fix compile warning for win32

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 19 May 2001 21:32:12 +0200

applied

Robert Collins wrote:
>
> Changelog:
> * src/main.c(main): Properly bracket the value assignment.
>
> Rob
>
> Index: src/main.c
> ===================================================================
> RCS file: /cvsroot/squid/squid/src/main.c,v
> retrieving revision 1.23
> diff -u -r1.23 main.c
> --- src/main.c 2001/05/05 20:47:38 1.23
> +++ src/main.c 2001/05/17 12:27:10
> @@ -573,7 +573,7 @@
> Squid_MaxFD = FD_SETSIZE;
>
> #if defined(_SQUID_MSWIN_) || defined(_SQUID_CYGWIN_)
> - if (WIN32_init_err = WIN32_Subsystem_Init())
> + if ((WIN32_init_err = WIN32_Subsystem_Init()))
> return WIN32_init_err;
> #endif
>
Received on Sat May 19 2001 - 13:32:45 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:01 MST