PATCH: Fix compile warning for win32

From: Robert Collins <robert.collins@dont-contact.us>
Date: Thu, 17 May 2001 22:27:16 +1000

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 Thu May 17 2001 - 06:29:11 MDT

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