From: Andrey Volk Date: Mon, 24 Jul 2023 22:44:20 +0000 (+0300) Subject: [Core] switch_curl_process_mime(): fix build on older systems. X-Git-Tag: v1.10.10^2~14^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c37ed7c816bb638627fee97899eb726b4d50c275;p=thirdparty%2Ffreeswitch.git [Core] switch_curl_process_mime(): fix build on older systems. --- 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; }