[sr-dev] git:master:2b9ad2a6: db2_ops: fix typo

Victor Seva linuxmaniac at torreviejawireless.org
Wed Feb 7 17:53:44 CET 2018


Module: kamailio
Branch: master
Commit: 2b9ad2a628c17d73412e09aad7723b1e01eab871
URL: https://github.com/kamailio/kamailio/commit/2b9ad2a628c17d73412e09aad7723b1e01eab871

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2018-02-07T17:51:36+01:00

db2_ops: fix typo

Thanks, lintian
> I: kamailio: spelling-error-in-binary usr/lib/x86_64-linux-gnu/kamailio/modules/db2_ops.so formating formatting

---

Modified: src/modules/db2_ops/db2_ops.c

---

Diff:  https://github.com/kamailio/kamailio/commit/2b9ad2a628c17d73412e09aad7723b1e01eab871.diff
Patch: https://github.com/kamailio/kamailio/commit/2b9ad2a628c17d73412e09aad7723b1e01eab871.patch

---

diff --git a/src/modules/db2_ops/db2_ops.c b/src/modules/db2_ops/db2_ops.c
index 433d5293fc..61c152c7cf 100644
--- a/src/modules/db2_ops/db2_ops.c
+++ b/src/modules/db2_ops/db2_ops.c
@@ -488,7 +488,7 @@ static int parse_xlstr(struct xlstr* s) {
 
 	if (!s->s) return 0;
 	if (!strchr(s->s, '%')) return 0;
-	/* probably xl_log formating */
+	/* probably xl_log formatting */
 
 	if (!xl_print) {
 		xl_print=(xl_print_log_f*)find_export("xprint", NO_SCRIPT, 0);
@@ -535,7 +535,7 @@ static int eval_xlstr(struct sip_msg* msg, struct xlstr* s) {
 	if (s->xlfmt) {
 		len = xlbuf_size - (xlbuf_tail-xlbuf);
 		if (xl_print(msg, s->xlfmt, xlbuf_tail, &len) < 0) {
-			ERR(MODULE_NAME": eval_xlstr: Error while formating result\n");
+			ERR(MODULE_NAME": eval_xlstr: Error while formatting result\n");
 			return E_UNSPEC;
 		}
 




More information about the sr-dev mailing list