Skip to content

Commit

Permalink
cgrates: fix resuming function for cgrates_cmd()
Browse files Browse the repository at this point in the history
Reported by Vasilios Tzanoudakis  #1713

(cherry picked from commit 80ec779)
  • Loading branch information
razvancrainea committed May 29, 2019
1 parent 2fd249c commit 2f63be9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/cgrates/cgrates_common.c
Expand Up @@ -253,7 +253,7 @@ int cgrates_set_reply_with_values(json_object *jobj)
break;
}
}
return 0;
return 1;
}

/* message builder */
Expand Down Expand Up @@ -768,6 +768,7 @@ int cgrc_async_read(struct cgr_conn *c,
* wrongfully waiting for a reply
*/
if (ret == 0 && f) {
LM_DBG("processed a request - continue waiting for a reply!\n");
async_status = ASYNC_CONTINUE;
return 1;
}
Expand Down

0 comments on commit 2f63be9

Please sign in to comment.