[Core] switch_curl_process_mime(): fix build on older systems.

This commit is contained in:
Andrey Volk 2023-07-25 01:44:20 +03:00
parent f7e5ae793e
commit c37ed7c816
1 changed files with 3 additions and 1 deletions

View 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;
}