Do not limit to 80 chars when the link can be 256 by @krisztianloki

This commit is contained in:
Jeong Han Lee
2018-08-29 22:27:07 +02:00
parent 4edd2f2eff
commit f5da2ea6b3

View File

@ -534,11 +534,11 @@ long streamInitRecord(dbCommon* record, const struct link *ioLink,
streamIoFunction readData, streamIoFunction writeData) streamIoFunction readData, streamIoFunction writeData)
{ {
long status; long status;
char filename[80]; char filename[256];
char protocol[80]; char protocol[256];
char busname[80]; char busname[256];
int addr = -1; int addr = -1;
char busparam[80]; char busparam[256];
memset(busparam, 0 ,sizeof(busparam)); memset(busparam, 0 ,sizeof(busparam));
debug("streamInitRecord(%s): SEVR=%d\n", record->name, record->sevr); debug("streamInitRecord(%s): SEVR=%d\n", record->name, record->sevr);