Skip to content

Commit 6aac4d3

Browse files
committed
fixes [712efac3397f9954]: change mistakenly flipped args for Tcl_OpenTcpServerEx()
1 parent 77b914e commit 6aac4d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generic/tclIOSock.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ Tcl_OpenTcpServer(
318318
char portbuf[TCL_INTEGER_SPACE];
319319

320320
TclFormatInt(portbuf, port);
321-
return Tcl_OpenTcpServerEx(interp, portbuf, host, -1,
322-
TCL_TCPSERVER_REUSEADDR, acceptProc, callbackData);
321+
return Tcl_OpenTcpServerEx(interp, portbuf, host, TCL_TCPSERVER_REUSEADDR,
322+
-1, acceptProc, callbackData);
323323
}
324324

325325
/*

0 commit comments

Comments
 (0)