mirror of
https://github.com/thiagoralves/OpenPLC_v3.git
synced 2026-02-06 02:02:20 +08:00
Merge pull request #306 from AnthonyMarrongelli/master
Improper casting in start_ethercat() command parsing.
This commit is contained in:
@@ -282,7 +282,7 @@ void processCommand(unsigned char *buffer, int client_fd)
|
||||
{
|
||||
processing_command = true;
|
||||
char *argument;
|
||||
argument = (char)readCommandArgumentStr(buffer);
|
||||
argument = readCommandArgumentStr(buffer);
|
||||
strcpy(ethercat_conf_file, argument);
|
||||
free(argument);
|
||||
sprintf(log_msg, "Issued start_ethercat() command to start with config: %s\n", ethercat_conf_file);
|
||||
|
||||
Reference in New Issue
Block a user