summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-12-21 23:25:39 (GMT)
committernijtmans <nijtmans>2009-12-21 23:25:39 (GMT)
commitf7e02c57c848c495a77975b927a0f4076bf4822c (patch)
tree86d9a8cc06d969564b99b6d5ed25975042f9300a /win/tclWinSock.c
parente3f5e21f00d98dacf701c346899ada0ef3327513 (diff)
downloadtcl-f7e02c57c848c495a77975b927a0f4076bf4822c.zip
tcl-f7e02c57c848c495a77975b927a0f4076bf4822c.tar.gz
tcl-f7e02c57c848c495a77975b927a0f4076bf4822c.tar.bz2
Various CYGWIN-related fixes. In the win32 configure script, CYGWIN is still not enabled yet, but at least it is a step in the right direction.
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index b03bf48..c843260 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinSock.c,v 1.66 2009/01/27 00:02:08 ferrieux Exp $
+ * RCS: @(#) $Id: tclWinSock.c,v 1.67 2009/12/21 23:25:41 nijtmans Exp $
*/
#include "tclWinInt.h"
@@ -1821,7 +1821,7 @@ TcpSetOptionProc(
sock = infoPtr->socket;
#ifdef TCL_FEATURE_KEEPALIVE_NAGLE
- if (!stricmp(optionName, "-keepalive")) {
+ if (!strcasecmp(optionName, "-keepalive")) {
BOOL val = FALSE;
int boolVar, rtn;
@@ -1842,7 +1842,7 @@ TcpSetOptionProc(
return TCL_ERROR;
}
return TCL_OK;
- } else if (!stricmp(optionName, "-nagle")) {
+ } else if (!strcasecmp(optionName, "-nagle")) {
BOOL val = FALSE;
int boolVar, rtn;