summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-07-17 22:06:42 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-07-17 22:06:42 (GMT)
commit1c131c76c8ac4f0cf35c8445658c46883996f8ef (patch)
tree8373f3ad23dfc7d2ba40d2fee7e20d970c60f496
parentbf4be5f15d3e6dcd7440e0d01343b676b05abb34 (diff)
downloadtcl-1c131c76c8ac4f0cf35c8445658c46883996f8ef.zip
tcl-1c131c76c8ac4f0cf35c8445658c46883996f8ef.tar.gz
tcl-1c131c76c8ac4f0cf35c8445658c46883996f8ef.tar.bz2
Try again :-}
-rw-r--r--generic/tclIOCmd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclIOCmd.c b/generic/tclIOCmd.c
index e957009..fa1fac1 100644
--- a/generic/tclIOCmd.c
+++ b/generic/tclIOCmd.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIOCmd.c,v 1.29 2005/07/17 21:54:32 dkf Exp $
+ * RCS: @(#) $Id: tclIOCmd.c,v 1.30 2005/07/17 22:06:42 dkf Exp $
*/
#include "tclInt.h"
@@ -1395,9 +1395,10 @@ Tcl_SocketObjCmd(notUsed, interp, objc, objv)
host = Tcl_GetString(objv[a]);
a++;
} else {
- Interp *iPtr = (Interp *) interp;
+ Interp *iPtr;
wrongNumArgs:
+ iPtr = (Interp *) interp;
Tcl_WrongNumArgs(interp, 1, objv,
"?-myaddr addr? ?-myport myport? ?-async? host port");
iPtr->flags |= INTERP_ALTERNATE_WRONG_ARGS;