- Changed strncpy to strlcpy, strncat to strlcat
- Added strlcpy and strlcat to SICS - Added a driver for the POLDI power supplies
This commit is contained in:
@ -711,7 +711,7 @@ int PolterInstall(SConnection * pCon, SicsInterp * pSics,
|
||||
KillPolterdi(pNew);
|
||||
return 0;
|
||||
}
|
||||
strncpy(comCon.deviceID, "internal", SCDEVIDLEN);
|
||||
strlcpy(comCon.deviceID, "internal", SCDEVIDLEN);
|
||||
RegisterCallback(pCall, COUNTSTART, Countstartcallback, pNew, NULL);
|
||||
RegisterCallback(pCall, COUNTEND, Countendcallback, pNew, NULL);
|
||||
|
||||
|
Reference in New Issue
Block a user