Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: can not perform post request #21

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: can not perform post request
jialeicui committed Feb 16, 2024
commit 266c7f9ebfdb9bb2e4624451a90dc03f4dad3fc3
4 changes: 2 additions & 2 deletions src/apps/aivs-monitor/main.c
Original file line number Diff line number Diff line change
@@ -215,8 +215,6 @@ int main() {
}
headers = curl_slist_append(headers, "Content-Type: application/json");

curl_easy_cleanup(curl);

monitor_t monitor = {
.mute_cb = mute_cb,
.act_tts = act_tts,
@@ -227,5 +225,7 @@ int main() {
monitor_init(monitor);
monitor_start(instruction_json_path);

curl_easy_cleanup(curl);

return 0;
}