From 11fd828ab00c01a39bd0843ef442ef0b6d3cac41 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Wed, 4 Nov 2026 18:35:04 +0200 Subject: [PATCH] lint fix --- src/ustreamer/http/path.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ustreamer/http/path.c b/src/ustreamer/http/path.c index adf7677..1613bbd 100644 --- a/src/ustreamer/http/path.c +++ b/src/ustreamer/http/path.c @@ -120,8 +120,8 @@ char *us_simplify_request_path(const char *str) { #ifdef TEST_HTTP_PATH int test_simplify_request_path(const char *sample, const char *expected) { - char *result = us_simplify_request_path(sample); - int retval = -!!strcmp(result, expected); + const char *result = us_simplify_request_path(sample); + const int retval = -(!!strcmp(result, expected)); printf("Testing '%s' -> '%s' ... ", sample, expected); if (retval == 0) {