summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {