summaryrefslogtreecommitdiffstats
path: root/generic/tclIOCmd.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-24 16:21:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-24 16:21:20 (GMT)
commitd19c943b1d1b13d3f47eee1528455d2d959f99ae (patch)
tree83b675a3cbdff2d35445a4304bea8537c44e2834 /generic/tclIOCmd.c
parentef3c261b6dcd49b4bae9b133b7d402090863ddc9 (diff)
parenta3a4e02afa38968088c4f32a658ddb26391bc117 (diff)
downloadtcl-d19c943b1d1b13d3f47eee1528455d2d959f99ae.zip
tcl-d19c943b1d1b13d3f47eee1528455d2d959f99ae.tar.gz
tcl-d19c943b1d1b13d3f47eee1528455d2d959f99ae.tar.bz2
merge forktip_456_fork
Diffstat (limited to 'generic/tclIOCmd.c')
-rw-r--r--generic/tclIOCmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclIOCmd.c b/generic/tclIOCmd.c
index b4696fd..930f5a3 100644
--- a/generic/tclIOCmd.c
+++ b/generic/tclIOCmd.c
@@ -1485,12 +1485,12 @@ Tcl_SocketObjCmd(
Tcl_Obj *const objv[]) /* Argument objects. */
{
static const char *const socketOptions[] = {
- "-async", "-myaddr", "-myport", "-server", "-reuseaddr", "-reuseport",
+ "-async", "-myaddr", "-myport", "-reuseaddr", "-reuseport", "-server",
NULL
};
enum socketOptions {
- SKT_ASYNC, SKT_MYADDR, SKT_MYPORT, SKT_SERVER, SKT_REUSEADDR,
- SKT_REUSEPORT
+ SKT_ASYNC, SKT_MYADDR, SKT_MYPORT, SKT_REUSEADDR, SKT_REUSEPORT,
+ SKT_SERVER
};
int optionIndex, a, server = 0, port, myport = 0, async = 0;
unsigned int flags = 0;