Skip to content

Commit

Permalink
ims_registrar_scscf: typos a/an
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov authored and miconda committed Dec 16, 2022
1 parent 58ba041 commit b648b2c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/modules/ims_registrar_scscf/cxdx_avp.c
Expand Up @@ -232,7 +232,7 @@ int cxdx_add_vendor_specific_appid(AAAMessage *msg,unsigned int vendor_id,
}

/**
* Creates and adds a Auth-Session-State AVP.
* Creates and adds an Auth-Session-State AVP.
* @param msg - the Diameter message to add to.
* @param data - the value for the AVP payload
* @returns 1 on success or 0 on error
Expand Down Expand Up @@ -326,7 +326,7 @@ int cxdx_add_UAR_flags(AAAMessage *msg, unsigned int sos_reg)

}
/**
* Creates and adds a Authorization-Type AVP.
* Creates and adds an Authorization-Type AVP.
* @param msg - the Diameter message to add to.
* @param data - the value for the AVP payload
* @returns 1 on success or 0 on error
Expand Down Expand Up @@ -802,7 +802,7 @@ int cxdx_get_auth_data_item_answer(AAAMessage *msg, AAA_AVP **auth_data,
}

/**
* Creates and adds a ETSI_sip_authorization AVP.
* Creates and adds an ETSI_sip_authorization AVP.
* @param username - UserName
* @param realm - Realm
* @param nonce - Nonce
Expand Down
6 changes: 3 additions & 3 deletions src/modules/ims_registrar_scscf/cxdx_avp.h
Expand Up @@ -73,7 +73,7 @@ int cxdx_add_destination_realm(AAAMessage *msg, str data);
int cxdx_add_vendor_specific_appid(AAAMessage *msg,unsigned int vendor_id,unsigned int auth_id,unsigned int acct_id);

/**
* Creates and adds a Auth-Session-State AVP.
* Creates and adds an Auth-Session-State AVP.
* @param msg - the Diameter message to add to.
* @param data - the value for the AVP payload
* @returns 1 on success or 0 on error
Expand Down Expand Up @@ -113,7 +113,7 @@ int cxdx_add_visited_network_id(AAAMessage *msg,str data);
int cxdx_add_UAR_flags(AAAMessage *msg, unsigned int sos_reg);

/**
* Creates and adds a Authorization-Type AVP.
* Creates and adds an Authorization-Type AVP.
* @param msg - the Diameter message to add to.
* @param data - the value for the AVP payload
* @returns 1 on success or 0 on error
Expand Down Expand Up @@ -204,7 +204,7 @@ int cxdx_get_auth_data_item_answer(AAAMessage *msg, AAA_AVP **auth_data,
str *line_identifier);

/**
* Creates and adds a ETSI_sip_authorization AVP.
* Creates and adds an ETSI_sip_authorization AVP.
* @param username - UserName
* @param realm - Realm
* @param nonce - Nonce
Expand Down
2 changes: 1 addition & 1 deletion src/modules/ims_registrar_scscf/registrar_notify.c
Expand Up @@ -1549,7 +1549,7 @@ void create_notifications(udomain_t* _t, impurecord_t* r_passed, ucontact_t* c_p
contact_port_ip_match(&c_passed->c, &s->watcher_contact) && alias_port_ip_match(&c_passed->c, &s->watcher_contact) &&
r_passed->public_identity.len == s->presentity_uri.len &&
memcmp(s->presentity_uri.s, r_passed->public_identity.s, r_passed->public_identity.len) == 0) {
LM_DBG("This is a UNREGISTER/EXPIRE event for a UE that subscribed to its own state that does not unsubscribe to dereg - therefore no notification\n");
LM_DBG("This is an UNREGISTER/EXPIRE event for a UE that subscribed to its own state that does not unsubscribe to dereg - therefore no notification\n");

if(r->linked_contacts.numcontacts < 2) {
// marking the contact as Notify ready if there aren't other linked contacts to the current impu record
Expand Down
6 changes: 3 additions & 3 deletions src/modules/ims_registrar_scscf/userdata_parser.c
Expand Up @@ -203,7 +203,7 @@ static inline void space_trim_dup(str *dest, char *src)
}

/**
* Parse a Application Server Extension.
* Parse an Application Server Extension.
* @param doc - the XML document
* @param node - the current node
* @param as - structure to fill
Expand Down Expand Up @@ -232,7 +232,7 @@ static int parse_application_server_extension(xmlDocPtr doc,xmlNodePtr node,ims_
}

/**
* Parse a Application Server.
* Parse an Application Server.
* @param doc - the XML document
* @param node - the current node
* @param as - structure to fill
Expand Down Expand Up @@ -835,7 +835,7 @@ static int parse_service_profile(xmlDocPtr doc, xmlNodePtr root, ims_service_pro
}

/**
* Parse a IMS Subscription.
* Parse an IMS Subscription.
* @param doc - the XML document
* @param root - the current node
* @returns the ims_subscription* on success or NULL on error
Expand Down

0 comments on commit b648b2c

Please sign in to comment.