Module: kamailio
Branch: master
Commit: db176a4918c0b500f5f051cad16fd8d442450ab7
URL:
https://github.com/kamailio/kamailio/commit/db176a4918c0b500f5f051cad16fd8d…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2024-04-26T05:53:30Z
core: spelling fix in comment and log message
---
Modified: src/core/switch.c
Modified: src/core/ut.h
---
Diff:
https://github.com/kamailio/kamailio/commit/db176a4918c0b500f5f051cad16fd8d…
Patch:
https://github.com/kamailio/kamailio/commit/db176a4918c0b500f5f051cad16fd8d…
---
diff --git a/src/core/switch.c b/src/core/switch.c
index 79cee21c501..e12b7e5f6d1 100644
--- a/src/core/switch.c
+++ b/src/core/switch.c
@@ -203,7 +203,7 @@ int fix_switch(struct action *t)
return E_BUG;
}
if(rval_expr_eval_long(0, 0, &c->label.match_int, c->ct_rve) < 0) {
- LM_ERR("case expression (%d,%d) has non-interger type\n",
+ LM_ERR("case expression (%d,%d) has non-integer type\n",
c->ct_rve->fpos.s_line, c->ct_rve->fpos.s_col);
return E_BUG;
}
diff --git a/src/core/ut.h b/src/core/ut.h
index ff8d964e559..1efd7abd242 100644
--- a/src/core/ut.h
+++ b/src/core/ut.h
@@ -315,7 +315,7 @@ static inline char *int2strbuf(unsigned long l, char *r, int r_size,
int *len)
}
extern char ut_buf_int2str[INT2STR_MAX_LEN];
-/** interger(long) to string conversion.
+/** integer(long) to string conversion.
* This version uses a static buffer (shared with sint2str()).
* WARNING: other function calls might overwrite the static buffer, so
* either always save the result immediately or use int2strbuf(...).