summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-29 11:39:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-29 11:39:00 (GMT)
commitb2522c9c24b283a616ac38c4c987827c4fa86167 (patch)
tree7ce411d2af949b4e0efb15ac084505dc3427742a /win/tclWinSock.c
parent23a0290873b671c61ba3bc112ffc158fb859667a (diff)
downloadtcl-b2522c9c24b283a616ac38c4c987827c4fa86167.zip
tcl-b2522c9c24b283a616ac38c4c987827c4fa86167.tar.gz
tcl-b2522c9c24b283a616ac38c4c987827c4fa86167.tar.bz2
Tcl_SetVar -> Tcl_SetVar2 and comparable replacements, eliminating functions which are deprecated.
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index cc77afe..4690708 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -1319,7 +1319,7 @@ TcpGetOptionProc(
return TCL_OK;
}
- if (interp != NULL && Tcl_GetVar(interp, SUPPRESS_RDNS_VAR, 0) != NULL) {
+ if (interp != NULL && Tcl_GetVar2(interp, SUPPRESS_RDNS_VAR, NULL, 0) != NULL) {
reverseDNS = NI_NUMERICHOST;
}