mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:33:31 +03:00
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
This commit is contained in:
parent
5fef848037
commit
a129859367
7 changed files with 12 additions and 15 deletions
|
|
@ -470,12 +470,6 @@
|
|||
#include <curl/stdcheaders.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define curlx_getpid() GetCurrentProcessId()
|
||||
#else
|
||||
#define curlx_getpid() getpid()
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Large file (>2Gb) support using Win32 functions.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue