From c37ed7c816bb638627fee97899eb726b4d50c275 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Tue, 25 Jul 2023 01:44:20 +0300 Subject: [PATCH] [Core] switch_curl_process_mime(): fix build on older systems. --- src/switch_curl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/switch_curl.c b/src/switch_curl.c index c899261ab5..d6cfd6ce19 100644 --- a/src/switch_curl.c +++ b/src/switch_curl.c @@ -135,9 +135,11 @@ SWITCH_DECLARE(switch_status_t) switch_curl_process_mime(switch_event_t *event, curl_mime_free(mime); mime = NULL; } -#endif *mimep = mime; +#else + *mimep = formpost; +#endif return SWITCH_STATUS_SUCCESS; }