diff options
author | hexcoder- <heiko@hexco.de> | 2020-02-13 21:16:00 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-02-13 21:16:00 +0100 |
commit | bd1acfd8683b20636540a37c72867ec785a33ad1 (patch) | |
tree | 4776601a9ae406c85154fb2ea73e0fe2a1d88b30 | |
parent | 24dcc5eb37dcb3c657ceef5fa33b48b1237342f5 (diff) | |
parent | 99b2adcbe20a3e823170cf5668bf949e98e7f8b1 (diff) | |
download | afl++-bd1acfd8683b20636540a37c72867ec785a33ad1.tar.gz |
Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus
-rw-r--r-- | libtokencap/libtokencap.so.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtokencap/libtokencap.so.c b/libtokencap/libtokencap.so.c index b6ef05f3..d400d3b3 100644 --- a/libtokencap/libtokencap.so.c +++ b/libtokencap/libtokencap.so.c @@ -330,8 +330,8 @@ int strncmp(const char* str1, const char* str2, size_t len) { unsigned char c1 = *str1, c2 = *str2; - if (!c1) return 0; if (c1 != c2) return (c1 > c2) ? 1 : -1; + if (!c1) return 0; str1++; str2++; @@ -380,8 +380,8 @@ int strncasecmp(const char* str1, const char* str2, size_t len) { const unsigned char c1 = tolower(*str1), c2 = tolower(*str2); - if (!c1) return 0; if (c1 != c2) return (c1 > c2) ? 1 : -1; + if (!c1) return 0; str1++; str2++; |