Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/ftp/ftpproxy/files/patch-src_ip-lib.c
16461 views
1
--- src/ip-lib.c.orig 2025-02-19 19:25:06 UTC
2
+++ src/ip-lib.c
3
@@ -52,7 +52,7 @@ int openip(char *host, unsigned int port, char *srcip,
4
{
5
int socketd;
6
struct sockaddr_in server;
7
- struct hostent *hostp, *gethostbyname();
8
+ struct hostent *hostp;
9
10
socketd = socket(AF_INET, SOCK_STREAM, 0);
11
if (socketd < 0)
12
13