aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/wzdftpd/files/patch-libwzd-core_wzd__misc.h
blob: d2e57f88cb9d38438a0a6b3ef8153e432d43fd2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- libwzd-core/wzd_misc.h.orig	2023-02-11 11:24:33 UTC
+++ libwzd-core/wzd_misc.h
@@ -52,7 +52,7 @@ int split_filename(const char *filename, char *path, c
  * If the client is inside a function, it is stopped immediatly,
  * maybe creating some problems.
  */
-int kill_child_signal(unsigned long pid, wzd_context_t * context);
+int kill_child_signal(pthread_t pid, wzd_context_t * context);
 
 /** \brief Kill child
  *
@@ -61,7 +61,7 @@ int kill_child_signal(unsigned long pid, wzd_context_t
  * If the client is inside a function, it will exit after the function
  * is finished.
  */
-int kill_child_new(unsigned long pid, wzd_context_t * context);
+int kill_child_new(pthread_t pid, wzd_context_t * context);
 
 /* returns system ip on specifed interface (e.g eth0) */
 int get_system_ip(const char * itface, struct in_addr * ina);