curl/tests/server
Viktor Szakats 29758a6143
tests/server: silence clang-tidy warning
It looks like a case that can never happen in practice.

Seen on mingw-w64 with experimental concatenated (vs. #included) test
sources:
```
tests/server/util.c:662:16: error: Null pointer passed as 1st
 argument to string length function [clang-analyzer-unix.cstring.NullArg]
  662 |   size_t len = strlen(unix_socket);
      |                ^
```
Ref: https://github.com/curl/curl/actions/runs/22267482855/job/64416261156#step:10:273

Closes #20668
2026-02-22 22:32:13 +01:00
..
.checksrc build: tidy up and dedupe strdup functions 2026-02-03 14:02:30 +01:00
.gitignore tests: always make bundles, adapt build and tests 2025-06-14 21:08:23 +02:00
CMakeLists.txt localtime: detect thread-safe alternatives and use them 2025-12-16 14:30:06 +01:00
dnsd.c tidy-up: move literals to right-side of if expressions (where missing) 2026-02-07 16:41:51 +01:00
first.c build: use more const 2026-02-02 12:32:49 +01:00
first.h clang-tidy: check bugprone-macro-parentheses, fix fallouts 2026-02-22 00:58:04 +01:00
getpart.c build: use more const 2026-02-02 12:32:49 +01:00
Makefile.am localtime: detect thread-safe alternatives and use them 2025-12-16 14:30:06 +01:00
Makefile.inc curlx: curlx_strcopy() instead of strcpy() 2025-12-22 23:01:05 +01:00
mqttd.c build: tidy up and simplify setmode() detection and use 2026-02-08 15:47:47 +01:00
resolve.c build: use more const 2026-02-02 12:32:49 +01:00
rtspd.c rtspd: fix to check realloc() result 2026-02-19 12:38:49 +01:00
sockfilt.c tests/server/sockfilt: check for NULL tv to silence clang-tidy 2026-02-20 12:08:52 +01:00
socksd.c build: tidy up and simplify setmode() detection and use 2026-02-08 15:47:47 +01:00
sws.c sws: prevent "connection monitor" to say disconnect twice 2026-02-07 22:16:53 +01:00
tftpd.c clang-tidy: check bugprone-macro-parentheses, fix fallouts 2026-02-22 00:58:04 +01:00
util.c tests/server: silence clang-tidy warning 2026-02-22 22:32:13 +01:00