Module: kamailio
Branch: master
Commit: 1db19f1672ebebcb916f4415c59f5c820a1b0068
URL: https://github.com/kamailio/kamailio/commit/1db19f1672ebebcb916f4415c59f5c8…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2016-06-06T12:05:39+02:00
auth_radius: fix compilation warning
> authorize.c:110:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
> ret = AUTH_NONCE_REUSED;
> ~ ^~~~~~~~~~~~~~~~~
> authorize.c:114:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
> ret = AUTH_STALE_NONCE;
> ~ ^~~~~~~~~~~~~~~~
> authorize.c:120:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
> ret = AUTH_ERROR;
> ~ ^~~~~~~~~~
> authorize.c:124:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
> ret = AUTH_NO_CREDENTIALS;
> ~ ^~~~~~~~~~~~~~~~~~~
> authorize.c:131:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
> ret = AUTH_OK;
> ~ ^~~~~~~
> authorize.c:148:9: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
> ret = AUTH_ERROR;
> ~ ^~~~~~~~~~
> authorize.c:153:12: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
> ret = AUTH_ERROR;
> ~ ^~~~~~~~~~
> authorize.c:159:12: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
> ret = AUTH_ERROR;;
> ~ ^~~~~~~~~~
> authorize.c:186:12: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
> ret = AUTH_ERROR;
> ~ ^~~~~~~~~~
> authorize.c:189:12: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
> ret = AUTH_OK;
> ~ ^~~~~~~
> authorize.c:193:8: warning: implicit conversion from enumeration type 'enum auth_cfg_result' to different enumeration type 'auth_result_t' (aka 'enum auth_result') [-Wenum-conversion]
> ret = AUTH_INVALID_PASSWORD;
> ~ ^~~~~~~~~~~~~~~~~~~~~
> 11 warnings generated.
---
Modified: modules/auth_radius/authorize.c
---
Diff: https://github.com/kamailio/kamailio/commit/1db19f1672ebebcb916f4415c59f5c8…
Patch: https://github.com/kamailio/kamailio/commit/1db19f1672ebebcb916f4415c59f5c8…
---
diff --git a/modules/auth_radius/authorize.c b/modules/auth_radius/authorize.c
index 18dff11..36c74eb 100644
--- a/modules/auth_radius/authorize.c
+++ b/modules/auth_radius/authorize.c
@@ -74,7 +74,7 @@ static inline int authorize(struct sip_msg* _msg, pv_elem_t* _realm,
pv_spec_t * _uri_user, hdr_types_t _hftype)
{
int res;
- auth_result_t ret;
+ auth_cfg_result_t ret;
struct hdr_field* h;
auth_body_t* cred;
str *uri_user;
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/657
-- Commit Summary --
* db_berkeley: fix compilation warning
* auth_radius: fix compilation warning
* misc_radius: fix compilation warning
* peering: fix compilation warning
* pua_xmpp: fix compilation warning
* cdp: fix compilation warning
* cdp: fix compilation warnings
* cdp: fix compilation warning
-- File Changes --
M modules/auth_radius/authorize.c (2)
M modules/cdp/diameter_api.h (2)
M modules/cdp/diameter_msg.c (2)
M modules/cdp/peerstatemachine.c (2)
M modules/cdp/peerstatemachine.h (2)
M modules/cdp/session.c (6)
M modules/db_berkeley/km_db_berkeley.c (3)
M modules/misc_radius/functions.c (2)
M modules/peering/verify.c (2)
M modules/pua_xmpp/xmpp2simple.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/657.patchhttps://github.com/kamailio/kamailio/pull/657.diff
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/657
Hello,
a short note to announce that the os on kamailio.org server will be
upgraded in the near future, likely next week, exact date still to be
decided. Hopefully there will be only very short downtime intervals.
Main affected services: website (including the wiki) and mailing lists.
I will send a notification once the procedure starts, but I wanted to
allow enough time for this information to propagate properly within the
community.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.orghttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda