From 78e337b901c4bcc9e2e1d08b378b70ba2e74d22d Mon Sep 17 00:00:00 2001 From: zolliker Date: Fri, 11 Jan 2008 15:11:02 +0000 Subject: [PATCH] - bugfix (bug introduced in 1.6) --- protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol.c b/protocol.c index a7d6b091..a9522ee8 100644 --- a/protocol.c +++ b/protocol.c @@ -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);