tst_QTcpServer: add missing const

So the array itself is also const.

Amends a94731c2ad85f9dd40050a780f67c911bf12668e.

Pick-to: 6.9
Change-Id: Ic4d78d3d059dd47f776ffffdd0971b1aa35a69e9
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Thiago Macieira 2025-01-18 08:57:24 -08:00
parent ab89118b8f
commit 8500e73040

View File

@ -27,7 +27,7 @@ int main(int argc, char *argv[])
// let's see if we can find the process that would be holding this
// still open
#ifdef Q_OS_LINUX
static const char *ss_args[] = {
static const char *const ss_args[] = {
"ss", "-nap", "sport", "=", argv[1], nullptr
};
dup2(STDERR_FILENO, STDOUT_FILENO);