mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:23:33 +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
|
|
@ -1354,7 +1354,7 @@ server_cleanup:
|
|||
|
||||
if(got_exit_signal) {
|
||||
logmsg("========> %s rtspd (port: %d pid: %ld) exits with signal (%d)",
|
||||
ipv_inuse, (int)port, (long)curlx_getpid(), exit_signal);
|
||||
ipv_inuse, (int)port, (long)our_getpid(), exit_signal);
|
||||
/*
|
||||
* To properly set the return status of the process we
|
||||
* must raise the same signal SIGINT or SIGTERM that we
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue