SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
18
benchmarks/siege/patches/patch-src_ftp_c
Normal file
18
benchmarks/siege/patches/patch-src_ftp_c
Normal file
|
@ -0,0 +1,18 @@
|
|||
Index: src/ftp.c
|
||||
--- src/ftp.c.orig
|
||||
+++ src/ftp.c
|
||||
@@ -151,13 +151,9 @@ ftp_stor(CONN *C, URL U)
|
||||
{
|
||||
size_t len;
|
||||
char *file;
|
||||
- size_t id = pthread_self();
|
||||
+ pthread_t id = pthread_self();
|
||||
int num = 2;
|
||||
char **parts;
|
||||
-
|
||||
- if (id < 0.0) {
|
||||
- id = -id;
|
||||
- }
|
||||
|
||||
len = strlen(url_get_file(U))+17;
|
||||
parts = split('.', url_get_file(U), &num);
|
Loading…
Add table
Add a link
Reference in a new issue