summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-08-05 20:34:57 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-08-05 20:34:57 (GMT)
commitaa7ab9ce5eba66a61032dc91795617354ca8c05f (patch)
tree03a897dfb2afc75d26f2aa276abc3238ee535952 /win
parent0f97712d765005441870b6e919297456e986be02 (diff)
downloadtcl-aa7ab9ce5eba66a61032dc91795617354ca8c05f.zip
tcl-aa7ab9ce5eba66a61032dc91795617354ca8c05f.tar.gz
tcl-aa7ab9ce5eba66a61032dc91795617354ca8c05f.tar.bz2
Fixes to my previous commit, from Francois Vogel. (My thanks and apologies!)
Diffstat (limited to 'win')
-rw-r--r--win/tclWinChan.c2
-rw-r--r--win/tclWinSock.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c
index bc233ea..52b9e32 100644
--- a/win/tclWinChan.c
+++ b/win/tclWinChan.c
@@ -942,7 +942,7 @@ TclpOpenFileChannel(
if (interp != (Tcl_Interp *) NULL) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"couldn't open \"%s\": %s",
- TclGetString(pathPtr),, Tcl_PosixError(interp)));
+ TclGetString(pathPtr), Tcl_PosixError(interp)));
}
return NULL;
}
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index 6986528..7894920 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -1282,7 +1282,7 @@ CreateSocket(
if (interp != NULL) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"couldn't open socket: %s",
- (errorMsg ? errorMsg : Tcl_PosixError(interp)));
+ (errorMsg ? errorMsg : Tcl_PosixError(interp))));
}
if (sock != INVALID_SOCKET) {