Fix problem where memcmp would return true in the case where the character after the character that was the same.
Fix problem where memcmp would return true in the case where the
character after the character that was the same.

Submitted by: jhay

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase