diff options
-rw-r--r-- | src/poparser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poparser.c b/src/poparser.c index 55f9c49..e4eff3c 100644 --- a/src/poparser.c +++ b/src/poparser.c @@ -362,7 +362,7 @@ size_t poparser_sysdep(const char *in, char *out, int cnt[]) { y++; for (n=0; n < st_max; n++) { - if (!memcmp(y, sysdep_str[n], strlen(sysdep_str[n]))) { + if (!strncmp(y, sysdep_str[n], strlen(sysdep_str[n]))) { if (outs) memcpy(out, x, y-x); out += y-x; |