summaryrefslogtreecommitdiffstats
path: root/generic/tclIOCmd.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2005-07-17 22:06:42 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2005-07-17 22:06:42 (GMT)
commitd9b600cf9991a1868837e49d87ebd4e13868f83f (patch)
tree8373f3ad23dfc7d2ba40d2fee7e20d970c60f496 /generic/tclIOCmd.c
parent8394680474e14244b1b69c3e58ea5f60462746ab (diff)
downloadtcl-d9b600cf9991a1868837e49d87ebd4e13868f83f.zip
tcl-d9b600cf9991a1868837e49d87ebd4e13868f83f.tar.gz
tcl-d9b600cf9991a1868837e49d87ebd4e13868f83f.tar.bz2
Try again :-}
Diffstat (limited to 'generic/tclIOCmd.c')
-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;