- Made init function in ascon handle errors

- Minor fixes to scriptcontext.c
This commit is contained in:
koennecke
2008-06-11 13:37:13 +00:00
parent e8a2d09aa6
commit 31e4a58870
6 changed files with 50 additions and 645 deletions

View File

@@ -190,7 +190,7 @@ int SctCommand(SConnection *con, SicsInterp *sics, void *object,
return 0;
}
dtime = DoubleTime();
snprintf(value,1024,"%ld",(long)dtime);
snprintf(value,1024,"%.3f",dtime);
SetHdbProperty(node,argv[2], value);
return 1;
}