- bugfix (bug introduced in 1.6)

This commit is contained in:
zolliker
2008-01-11 15:11:02 +00:00
parent 061b09b138
commit 78e337b901

View File

@ -185,8 +185,8 @@ static int ContextDo(SConnection *pCon, SicsInterp *pSics, void *pData,
status = Tcl_GetInt(pSics->pTcl,argv[1],&comCon.transID);
if(status != TCL_OK){
snprintf(command,1023,"ERROR: failed to convert %s to transaction ID", argv[1]);
SCWrite(pCon,command,eError);
snprintf(buffer,1023,"ERROR: failed to convert %s to transaction ID", argv[1]);
SCWrite(pCon,buffer,eError);
return 0;
}
strncpy(comCon.deviceID,argv[2],SCDEVIDLEN);