SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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);