Merge pull request #2180 from signalwire/older

[Core] switch_curl_process_mime(): fix build on older systems.
This commit is contained in:
Andrey Volk 2023-07-25 01:56:41 +03:00 committed by GitHub
commit 4f9918f663
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}