Skip to content

Commit

Permalink
auth_diameter: init socketfd variable
Browse files Browse the repository at this point in the history
- remove inline to functions that break the symbol linking
  • Loading branch information
miconda committed Dec 9, 2017
1 parent 3e80324 commit f3a3706
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/modules/auth_diameter/auth_diameter.c
Expand Up @@ -61,6 +61,7 @@ int diameter_is_user_in(struct sip_msg* _msg, char* group, char* _s2);
char* diameter_client_host = "localhost";
int diameter_client_port = 3000;
int use_domain = 0;
int sockfd = -1;

rd_buf_t *rb;

Expand Down
2 changes: 1 addition & 1 deletion src/modules/auth_diameter/avp.c
Expand Up @@ -37,7 +37,7 @@
* All this default values (for flags and data-type) are correct/set by this
* function.
*/
inline void set_avp_fields( AAA_AVPCode code, AAA_AVP *avp)
void set_avp_fields( AAA_AVPCode code, AAA_AVP *avp)
{
switch (code) {
case 1: /*AVP_User_Name*/
Expand Down

0 comments on commit f3a3706

Please sign in to comment.