]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: drop curlx_getpid, use fake pid in SMB
authorDaniel Stenberg <daniel@haxx.se>
Fri, 9 May 2025 07:36:05 +0000 (09:36 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 9 May 2025 08:01:30 +0000 (10:01 +0200)
commita1298593673ae76f4dd930b15064a482e60b4e0b
tree4eb83c0aefc53f62f8d4066bb709059f93431396
parent5fef848037809878e6e3a77e8376994c43a4d60a
lib: drop curlx_getpid, use fake pid in SMB

It was not a function properly exposed in the curlx set. SMB cannot
possibly need to send a real pid, now sends a made up number.

The only real users of this function are test servers, so move the logic
over there.

Closes #17298
lib/curl_setup.h
lib/smb.c
tests/server/dnsd.c
tests/server/rtspd.c
tests/server/sws.c
tests/server/tftpd.c
tests/server/util.c