small bugfixes M.Z.
This commit is contained in:
@ -456,6 +456,7 @@ static void printAll(SicsInterp *pSics, SConnection *pCon)
|
||||
strcat(pBueffel,"\r\n");
|
||||
SCWrite(pCon,pBueffel,eStatus);
|
||||
iNum = 0;
|
||||
pBueffel[0]='\0';
|
||||
}
|
||||
pCurrent = pCurrent->pNext;
|
||||
}
|
||||
@ -508,6 +509,7 @@ static void printInterface(SicsInterp *pSics, SConnection *pCon, int id)
|
||||
strcat(pBueffel,"\r\n");
|
||||
SCWrite(pCon,pBueffel,eStatus);
|
||||
iNum = 0;
|
||||
pBueffel[0]='\0';
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -559,6 +561,7 @@ static void printMatch(SicsInterp *pSics, SConnection *pCon, char *mask)
|
||||
strcat(pBueffel,pCurrent->pName);
|
||||
strcat(pBueffel,"\r\n");
|
||||
SCWrite(pCon,pBueffel,eStatus);
|
||||
pBueffel[0]='\0';
|
||||
iNum = 0;
|
||||
}
|
||||
}
|
||||
@ -607,6 +610,7 @@ static void printType(SicsInterp *pSics, SConnection *pCon, char *type)
|
||||
strcat(pBueffel,pCurrent->pName);
|
||||
strcat(pBueffel,"\r\n");
|
||||
SCWrite(pCon,pBueffel,eStatus);
|
||||
pBueffel[0]='\0';
|
||||
iNum = 0;
|
||||
}
|
||||
}
|
||||
@ -677,7 +681,7 @@ static void printType(SicsInterp *pSics, SConnection *pCon, char *type)
|
||||
printInterface(pSics,pCon,ENVIRINTERFACE);
|
||||
return 1;
|
||||
}
|
||||
SCWrite(pCon,"ERROR: interface description nor recognized",eError);
|
||||
SCWrite(pCon,"ERROR: interface description not recognized",eError);
|
||||
return 0;
|
||||
}
|
||||
/*
|
||||
|
Reference in New Issue
Block a user