Module: kamailio
Branch: master
Commit: 911f81fc5d8945aabb49c3dca176a73320b8d0de
URL:
https://github.com/kamailio/kamailio/commit/911f81fc5d8945aabb49c3dca176a73…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2018-02-07T16:54:57+01:00
presence: fix typos
Thanks, lintian
I: kamailio-presence-modules: spelling-error-in-binary
usr/lib/x86_64-linux-gnu/kamailio/modules/presence.so pres press
I: kamailio-presence-modules: spelling-error-in-binary
usr/lib/x86_64-linux-gnu/kamailio/modules/presence.so stucture structure
I: kamailio-presence-modules: spelling-error-in-binary
usr/lib/x86_64-linux-gnu/kamailio/modules/presence.so unsuccessfull unsuccessful
---
Modified: src/modules/presence/presence.c
Modified: src/modules/presence/presentity.c
Modified: src/modules/presence/publish.c
---
Diff:
https://github.com/kamailio/kamailio/commit/911f81fc5d8945aabb49c3dca176a73…
Patch:
https://github.com/kamailio/kamailio/commit/911f81fc5d8945aabb49c3dca176a73…
---
diff --git a/src/modules/presence/presence.c b/src/modules/presence/presence.c
index 721506292b..8131720cc4 100644
--- a/src/modules/presence/presence.c
+++ b/src/modules/presence/presence.c
@@ -1396,7 +1396,7 @@ static int update_pw_dialogs(subs_t* subs, unsigned int hash_code,
subs_t** subs
cs= mem_copy_subs(s, PKG_MEM_TYPE);
if(cs== NULL)
{
- LM_ERR( "copying subs_t stucture\n");
+ LM_ERR( "copying subs_t structure\n");
lock_release(&subs_htable[hash_code].lock);
return -1;
}
diff --git a/src/modules/presence/presentity.c b/src/modules/presence/presentity.c
index a824bd0a20..231f9a8bd5 100644
--- a/src/modules/presence/presentity.c
+++ b/src/modules/presence/presentity.c
@@ -73,7 +73,7 @@ char* generate_ETag(int publ_count)
size = snprintf (etag, ETAG_LEN, "%c.%d.%d.%d.%d",prefix, startup_time, pid,
counter, publ_count);
if( size <0 )
{
- LM_ERR("unsuccessfull snprintf\n ");
+ LM_ERR("unsuccessful snprintf\n ");
pkg_free(etag);
return NULL;
}
diff --git a/src/modules/presence/publish.c b/src/modules/presence/publish.c
index 69533b0e39..bf5a3bcd56 100644
--- a/src/modules/presence/publish.c
+++ b/src/modules/presence/publish.c
@@ -148,7 +148,7 @@ void msg_presentity_clean(unsigned int ticks,void *param)
/* delete from hash table */
if(publ_cache_enabled && delete_phtable(&uri,
pres.event->evp->type)< 0)
{
- LM_ERR("deleting from pres hash table\n");
+ LM_ERR("deleting from presentity hash table\n");
goto error;
}