Skip to content

Commit

Permalink
mi_script: force a positive value in eventfd
Browse files Browse the repository at this point in the history
Thanks go to Suchi Sahoo from Five9 for reporting it

(cherry picked from commit b2c6ce6)
  • Loading branch information
razvancrainea committed Aug 29, 2022
1 parent aa0b5d7 commit 5288ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mi_script/mi_script.c
Expand Up @@ -551,7 +551,7 @@ static void mi_script_async_job_free(struct mi_script_async_job *job)
static void mi_script_async_resume_job(int sender, void *param)
{
int ret;
unsigned long r;
static unsigned long r = 1;
struct mi_script_async_job *job = (struct mi_script_async_job *)param;
/* just notify the event socket */
do {
Expand Down

0 comments on commit 5288ffa

Please sign in to comment.