- bug fixes in tecs client routines
- improved instr_host routine - double control etc. in tecs
This commit is contained in:
@@ -206,7 +206,7 @@ int CocPushArg(CocConn *conn, const char *name, void *value, int type, int size)
|
||||
assert(NULL==strchr(name, ' '));
|
||||
buf=&conn->cmdbuf;
|
||||
n=conn->nargs;
|
||||
if (n>=sizeof(conn->args)) ERR_MSG("too many return arguments");
|
||||
if (n>=sizeof(conn->args)/sizeof(conn->args[0])) ERR_MSG("too many return arguments");
|
||||
conn->args[n].adr=value;
|
||||
conn->args[n].type=type;
|
||||
conn->args[n].size=size;
|
||||
|
||||
Reference in New Issue
Block a user