From 068e158eaead3f2dad0aa00d7e8c806836490a35 Mon Sep 17 00:00:00 2001 From: Norm Brandinger Date: Wed, 20 Nov 2024 13:45:43 -0500 Subject: [PATCH] minor_fixes --- modules/presence/notify.c | 2 +- modules/presence/presence.c | 2 +- modules/rtpengine/rtpengine.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/presence/notify.c b/modules/presence/notify.c index 7b6bb186fd1..601db3cec3b 100644 --- a/modules/presence/notify.c +++ b/modules/presence/notify.c @@ -1520,7 +1520,7 @@ int get_subs_db(str* pres_uri, pres_ev_t* event, str* sender, if(result->n <=0 ) { - LM_DBG("The query for subscribtion for [uri]= %.*s for [event]= %.*s" + LM_DBG("The query for subscription for [uri]= %.*s for [event]= %.*s" " returned no result\n",pres_uri->len, pres_uri->s, event->name.len, event->name.s); pa_dbf.free_result(pa_db, result); diff --git a/modules/presence/presence.c b/modules/presence/presence.c index 9e326b89e69..20987b9012f 100644 --- a/modules/presence/presence.c +++ b/modules/presence/presence.c @@ -874,7 +874,7 @@ static mi_response_t *mi_list_shtable(const mi_params_t *params, str *from, str lock_get(&subs_htable[i].lock); for (s = subs_htable[i].entries->next; s; s = s->next) { if (from) { - /* print subscribtion if "from" and "to" match with given wildcard */ + /* print subscription if "from" and "to" match with given wildcard */ rc = from_to_match_subs(s, &match_from, &match_to, from_w, to_w); if (rc < 0) goto error; diff --git a/modules/rtpengine/rtpengine.c b/modules/rtpengine/rtpengine.c index 43dbee1e280..5dea6f2c2e7 100644 --- a/modules/rtpengine/rtpengine.c +++ b/modules/rtpengine/rtpengine.c @@ -4147,7 +4147,7 @@ static int rtpengine_stopmedia_f(struct sip_msg* msg, str *flags, dict = rtpe_function_call_ok(&bencbuf, msg, OP_STOP_MEDIA, flags, NULL, spvar, NULL, NULL, NULL); if (!dict) { - LM_ERR("could not start media!\n"); + LM_ERR("could not stop media!\n"); return -1; }