]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove some APR 0.x stuff.
authorChristophe Jaillet <jailletc36@apache.org>
Sun, 20 Feb 2022 15:08:30 +0000 (15:08 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sun, 20 Feb 2022 15:08:30 +0000 (15:08 +0000)
The minimum supported version is 1.3 in 2.4.x

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898255 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_ftp.c
modules/proxy/proxy_util.c

index 7df4a26f324436dc018c88c3c60c8c30a8fe61b2..0dc3917c85cbff8c956f9a67b0af42e41753409b 100644 (file)
 #endif
 #include "apr_version.h"
 
-#if (APR_MAJOR_VERSION < 1)
-#undef apr_socket_create
-#define apr_socket_create apr_socket_create_ex
-#endif
-
 #define AUTODETECT_PWD
 /* Automatic timestamping (Last-Modified header) based on MDTM is used if:
  * 1) the FTP server supports the MDTM command and
index 73567c22810c80e4f1a8f5e3e2bdc3c64201f3e3..1cc275e18c90aeca0c58ca584bf0a4c81562ca8e 100644 (file)
 #include <unistd.h>         /* for getpid() */
 #endif
 
-#if (APR_MAJOR_VERSION < 1)
-#undef apr_socket_create
-#define apr_socket_create apr_socket_create_ex
-#endif
-
 #if APR_HAVE_SYS_UN_H
 #include <sys/un.h>
 #endif