- bugfix (bug introduced in 1.6)
This commit is contained in:
@ -185,8 +185,8 @@ static int ContextDo(SConnection *pCon, SicsInterp *pSics, void *pData,
|
|||||||
|
|
||||||
status = Tcl_GetInt(pSics->pTcl,argv[1],&comCon.transID);
|
status = Tcl_GetInt(pSics->pTcl,argv[1],&comCon.transID);
|
||||||
if(status != TCL_OK){
|
if(status != TCL_OK){
|
||||||
snprintf(command,1023,"ERROR: failed to convert %s to transaction ID", argv[1]);
|
snprintf(buffer,1023,"ERROR: failed to convert %s to transaction ID", argv[1]);
|
||||||
SCWrite(pCon,command,eError);
|
SCWrite(pCon,buffer,eError);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
strncpy(comCon.deviceID,argv[2],SCDEVIDLEN);
|
strncpy(comCon.deviceID,argv[2],SCDEVIDLEN);
|
||||||
|
Reference in New Issue
Block a user