summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-09-13 14:20:38 (GMT)
committernijtmans <nijtmans>2010-09-13 14:20:38 (GMT)
commit977fd8496d174524a12ac1d1bda9ef02b2194503 (patch)
tree03d8642b19420af74dc2a6df0008c01cb554ad79 /win/tclWinSock.c
parent4b90c100d6369a76746f961863759d9c26d4c3eb (diff)
downloadtcl-977fd8496d174524a12ac1d1bda9ef02b2194503.zip
tcl-977fd8496d174524a12ac1d1bda9ef02b2194503.tar.gz
tcl-977fd8496d174524a12ac1d1bda9ef02b2194503.tar.bz2
Various clean-ups, converting from tclWinProc->xxxProc directly to Xxx
(no change in functionality)
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 b4ae07b..b4ef80b 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.73 2010/08/30 09:19:37 nijtmans Exp $
+ * RCS: @(#) $Id: tclWinSock.c,v 1.74 2010/09/13 14:20:39 nijtmans Exp $
*/
#include "tclWinInt.h"
@@ -2428,12 +2428,12 @@ InitializeHostName(
DWORD length = MAX_COMPUTERNAME_LENGTH + 1;
Tcl_DString ds;
- if (tclWinProcs->getComputerNameProc(tbuf, &length) != 0) {
+ if (GetComputerName(tbuf, &length) != 0) {
/*
* Convert string from native to UTF then change to lowercase.
*/
- Tcl_UtfToLower((char *) tclWinProcs->tchar2utf(tbuf, -1, &ds));
+ Tcl_UtfToLower(Tcl_WinTCharToUtf(tbuf, -1, &ds));
} else {
Tcl_DStringInit(&ds);