mirror of
https://github.com/thiagoralves/OpenPLC_v3.git
synced 2026-09-23 11:34:22 +08:00
Merge pull request #264 from tareque-cloud/fix-operator-typo
Fix incorrect assignment operator (= instead of +=)
This commit is contained in:
@@ -586,7 +586,7 @@ int processEnipMessage(unsigned char *buffer, int buffer_size)
|
||||
}*/
|
||||
else
|
||||
{
|
||||
p = sprintf(p, "Unknown EtherNet/IP request: ");
|
||||
p += sprintf(p, "Unknown EtherNet/IP request: ");
|
||||
int msg_size;
|
||||
if (((buffer_size * 3) + 40) < log_msg_max_size) // Each byte on buffer takes 3 bytes to be printed using "%02x ". Add 40 extra bytes for "preamble"
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user