mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-13 21:47:44 +00:00
Signed-off-by: Felix Janda <felix.janda@posteo.de> Closes: https://github.com/gentoo/gentoo/pull/40252 Signed-off-by: Sam James <sam@gentoo.org>
22 lines
797 B
Diff
22 lines
797 B
Diff
From 22a72290ac41d27238a8861eea60b5cf3878b94b Mon Sep 17 00:00:00 2001
|
|
From: Felix Janda <felix.janda@posteo.de>
|
|
Date: Sat, 18 Jan 2025 15:50:32 -0500
|
|
Subject: [PATCH] [sftp] add declaration of ftp_curl_handle_error
|
|
|
|
fixes compilation error when sftp is enabled but ftp is disabled
|
|
---
|
|
src/protocol/curl/sftp.h | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/protocol/curl/sftp.h b/src/protocol/curl/sftp.h
|
|
index 2ec5a0542..5b42bccaa 100644
|
|
--- a/src/protocol/curl/sftp.h
|
|
+++ b/src/protocol/curl/sftp.h
|
|
@@ -12,6 +12,7 @@ extern struct module sftp_protocol_module;
|
|
|
|
#if defined(CONFIG_SFTP) && defined(CONFIG_LIBCURL)
|
|
extern protocol_handler_T sftp_protocol_handler;
|
|
+void ftp_curl_handle_error(struct connection *conn, CURLcode res);
|
|
#else
|
|
#define sftp_protocol_handler NULL
|
|
#endif
|