diff options
Diffstat (limited to 'config.c')
| -rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2424,7 +2424,7 @@ int doSerialPortName(int i, char * value, char * rec) if (IsNumeric(rec))
xxp.IOADDR = atoi(rec);
else
- strcpy(xxp.SerialPortName, rec);
+ xxp.SerialPortName = strdup(rec);
return 1;
}
|
