Skip to content

Commit

Permalink
presence_reginfo: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov authored and miconda committed Feb 13, 2023
1 parent 38f90a4 commit f82553b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/modules/presence_reginfo/notify_body.c
Expand Up @@ -39,7 +39,7 @@
#include "../presence/presence.h"


str *agregate_xmls(str *pres_user, str *pres_domain, str **body_array, int n);
str *aggregate_xmls(str *pres_user, str *pres_domain, str **body_array, int n);

void free_xml_body(char *body)
{
Expand All @@ -62,7 +62,7 @@ str *reginfo_agg_nbody(str *pres_user, str *pres_domain, str **body_array,
return NULL;
}

n_body = agregate_xmls(pres_user, pres_domain, body_array, n);
n_body = aggregate_xmls(pres_user, pres_domain, body_array, n);
LM_DBG("[n_body]=%p\n", n_body);
if(n_body) {
LM_DBG("[*n_body]=%.*s\n", n_body->len, n_body->s);
Expand All @@ -77,7 +77,7 @@ str *reginfo_agg_nbody(str *pres_user, str *pres_domain, str **body_array,
return n_body;
}

str *agregate_xmls(str *pres_user, str *pres_domain, str **body_array, int n)
str *aggregate_xmls(str *pres_user, str *pres_domain, str **body_array, int n)
{
int i, j = 0;

Expand Down Expand Up @@ -235,7 +235,7 @@ str *agregate_xmls(str *pres_user, str *pres_domain, str **body_array, int n)
str *reginfo_body_setversion(subs_t *subs, str *body)
{
char *version_start = 0;
char version[MAX_INT_LEN + 2]; /* +2 becasue of trailing " and \0 */
char version[MAX_INT_LEN + 2]; /* +2 because of trailing " and \0 */
int version_len;
str *aux_body = NULL;

Expand Down
2 changes: 1 addition & 1 deletion src/modules/presence_reginfo/presence_reginfo.c
Expand Up @@ -50,7 +50,7 @@ add_event_t pres_add_event;
int pres_reginfo_aggregate_presentities = 0;
unsigned int pres_reginfo_default_expires = 3600;

/* module exported paramaters */
/* module exported parameters */
static param_export_t params[] = {
{ "default_expires", INT_PARAM, &pres_reginfo_default_expires },
{ "aggregate_presentities", INT_PARAM, &pres_reginfo_aggregate_presentities },
Expand Down

0 comments on commit f82553b

Please sign in to comment.