diff options
-rw-r--r-- | lib/iot/zoap/zoap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/iot/zoap/zoap.c b/lib/iot/zoap/zoap.c index 313a24ec9..d50b00410 100644 --- a/lib/iot/zoap/zoap.c +++ b/lib/iot/zoap/zoap.c @@ -504,7 +504,7 @@ static bool uri_path_eq(const struct zoap_packet *pkt, return false; } - if (strncmp(options[i].value, path[i], len)) { + if (memcmp(options[i].value, path[i], len)) { return false; } } |