]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[Core] switch_curl_process_mime(): fix build on older systems. 2180/head
authorAndrey Volk <andywolk@gmail.com>
Mon, 24 Jul 2023 22:44:20 +0000 (01:44 +0300)
committerAndrey Volk <andywolk@gmail.com>
Mon, 24 Jul 2023 22:44:20 +0000 (01:44 +0300)
src/switch_curl.c

index c899261ab597f6ebd82e6595501026317341e44b..d6cfd6ce1990fcfa00c3547b15bd97c1940f4582 100644 (file)
@@ -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;
 }