- Removed SCStart/EndBuffering as far as possible and fixed an issue with

the capture command in that it not put resluts into the Tcl interpreter.
  This broke scriptcontext scripts in complicated situations.
- Resolved some issues with the TAS calculation and negative scattering sense.
- Fixed a bug which did not reset the state to idle after checking
  reachability in confvirtualmot.c
This commit is contained in:
koennecke
2012-10-29 12:56:30 +00:00
parent 013c96526e
commit 28cea49d01
6 changed files with 53 additions and 26 deletions

View File

@@ -155,7 +155,7 @@ static int JVLHandler(Ascon *a)
a->state = AsconWriteStart;
return 1;
}
if(time(NULL) > priv->start + 1){
if(time(NULL) > priv->start + a->timeout){
a->state = AsconReadDone;
DynStringConcat(a->rdBuffer,"timeout");
return 1;
@@ -211,7 +211,7 @@ static int JVLInit(Ascon * a, SConnection * con, int argc, char *argv[])
if (argc > 2) {
a->timeout = atof(argv[2]);
} else {
a->timeout = 2.0; /* sec */
a->timeout = 1.0; /* sec */
}
a->private = priv;
a->killPrivate = free;