Typo in syslog.c prevents correct UTF8 BOM processing

Tags:

#1 vadimevf

This can be seen in nxlog-ce-2.8.1248 distribution, syslog.c, line 1094

if ( (ptr[0] == 0xEF) && (ptr[0] == 0xBB) && (ptr[0] == 0xBF) )

should be

if ( (ptr[0] == 0xEF) && (ptr[1] == 0xBB) && (ptr[2] == 0xBF) )

Please, fix this.

#2 adm Nxlog ✓
#1 vadimevf
This can be seen in nxlog-ce-2.8.1248 distribution, syslog.c, line 1094 if ( (ptr[0] == 0xEF) && (ptr[0] == 0xBB) && (ptr[0] == 0xBF) ) should be if ( (ptr[0] == 0xEF) && (ptr[1] == 0xBB) && (ptr[2] == 0xBF) ) Please, fix this.

That will be fixed, thanks!