diff --git a/modules/ims_auth/pvt_message.c b/modules/ims_auth/pvt_message.c index fc397f564cf..ba8a53bf7f5 100644 --- a/modules/ims_auth/pvt_message.c +++ b/modules/ims_auth/pvt_message.c @@ -101,7 +101,7 @@ struct sip_msg* get_request_from_tx(struct cell *t) { if (_pv_treq.buf == NULL) { LM_ERR("no more pkg\n"); _pv_treq.buf_size = 0; - return -1; + return 0; } } if (_pv_treq.tmsgp) @@ -122,7 +122,7 @@ struct sip_msg* get_request_from_tx(struct cell *t) { _pv_treq.buf = NULL; _pv_treq.tmsgp = NULL; _pv_treq.T = NULL; - return -1; + return 0; } }