Module: kamailio
Branch: master
Commit: 832f7a9b063ec2afe2d360417b0413fadaf9e08c
URL:
https://github.com/kamailio/kamailio/commit/832f7a9b063ec2afe2d360417b0413f…
Author: jaybeepee <jason.penton(a)gmail.com>
Committer: jaybeepee <jason.penton(a)gmail.com>
Date: 2016-06-07T08:42:15+02:00
modules/ims_auth: return null instead of integer
---
Modified: modules/ims_auth/pvt_message.c
---
Diff:
https://github.com/kamailio/kamailio/commit/832f7a9b063ec2afe2d360417b0413f…
Patch:
https://github.com/kamailio/kamailio/commit/832f7a9b063ec2afe2d360417b0413f…
---
diff --git a/modules/ims_auth/pvt_message.c b/modules/ims_auth/pvt_message.c
index fc397f5..ba8a53b 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;
}
}