Module: kamailio
Branch: master
Commit: 22ba499fa8bcd87fab5b718f7a011d1be047b858
URL:
https://github.com/kamailio/kamailio/commit/22ba499fa8bcd87fab5b718f7a011d1…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2018-02-07T17:47:29+01:00
ctl: fix typos
Thanks, lintian
I: kamailio: spelling-error-in-binary
usr/lib/x86_64-linux-gnu/kamailio/modules/ctl.so emtpy empty
I: kamailio: spelling-error-in-binary usr/lib/x86_64-linux-gnu/kamailio/modules/ctl.so
errror error
---
Modified: src/modules/ctl/binrpc_run.c
Modified: src/modules/ctl/fifo_server.c
Modified: src/modules/ctl/io_listener.c
---
Diff:
https://github.com/kamailio/kamailio/commit/22ba499fa8bcd87fab5b718f7a011d1…
Patch:
https://github.com/kamailio/kamailio/commit/22ba499fa8bcd87fab5b718f7a011d1…
---
diff --git a/src/modules/ctl/binrpc_run.c b/src/modules/ctl/binrpc_run.c
index efff292081..064b32b487 100644
--- a/src/modules/ctl/binrpc_run.c
+++ b/src/modules/ctl/binrpc_run.c
@@ -700,7 +700,7 @@ int process_rpc_req(unsigned char* buf, int size, int* bytes_needed,
error:
if (f_ctx.replied==0){
rpc_fault(&f_ctx, 500, "internal server error");
- LOG(L_ERR, "ERROR: unknown rpc errror\n");
+ LOG(L_ERR, "ERROR: unknown rpc error\n");
}
*bytes_needed=0; /* we don't need anymore crap */
destroy_binrpc_ctx(&f_ctx);
diff --git a/src/modules/ctl/fifo_server.c b/src/modules/ctl/fifo_server.c
index b37aa47f00..e057148059 100644
--- a/src/modules/ctl/fifo_server.c
+++ b/src/modules/ctl/fifo_server.c
@@ -819,7 +819,7 @@ int init_fifo_fd(char* fifo, int fifo_mode, int fifo_uid, int
fifo_gid,
return -1;
}
if (strlen(fifo) == 0) {
- ERR("emtpy fifo: fifo disabled\n");
+ ERR("empty fifo: fifo disabled\n");
return -1;
}
diff --git a/src/modules/ctl/io_listener.c b/src/modules/ctl/io_listener.c
index 8da2ba2933..5d8a22e880 100644
--- a/src/modules/ctl/io_listener.c
+++ b/src/modules/ctl/io_listener.c
@@ -711,7 +711,7 @@ inline static int handle_io(struct fd_map* fm, short events, int idx)
break;
#endif
case F_T_RESERVED:
- LOG(L_CRIT, "BUG: io listen handle_io: emtpy fd map\n");
+ LOG(L_CRIT, "BUG: io listen handle_io: empty fd map\n");
goto error;
default:
LOG(L_CRIT, "BUG: io listen handle_io: unknown fd type %d\n",