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

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2018-02-07T16:30:44+01:00

cdp: fix typos

Thanks, lintian
> I: kamailio-ims-modules: spelling-error-in-binary 
> usr/lib/x86_64-linux-gnu/kamailio/modules/cdp.so Recevied Received
> I: kamailio-ims-modules: spelling-error-in-binary 
> usr/lib/x86_64-linux-gnu/kamailio/modules/cdp.so droped dropped

---

Modified: src/modules/cdp/acctstatemachine.c
Modified: src/modules/cdp/diameter_msg.c
Modified: src/modules/cdp/receiver.c

---

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

---

diff --git a/src/modules/cdp/acctstatemachine.c 
b/src/modules/cdp/acctstatemachine.c
index 9d1a4510f1..4e9272980f 100644
--- a/src/modules/cdp/acctstatemachine.c
+++ b/src/modules/cdp/acctstatemachine.c
@@ -128,7 +128,7 @@ int cc_acc_client_stateful_sm_process(cdp_session_t* s, int 
event, AAAMessage* m
                                        break;
 
                                default:
-                                       LM_ERR("Recevied unknown event [%d] in 
state [%d]\n", event, x->state);
+                                       LM_ERR("Received unknown event [%d] in 
state [%d]\n", event, x->state);
                                        break;
                        }
                        break;
diff --git a/src/modules/cdp/diameter_msg.c b/src/modules/cdp/diameter_msg.c
index 3630d40f1f..fb4257f52a 100644
--- a/src/modules/cdp/diameter_msg.c
+++ b/src/modules/cdp/diameter_msg.c
@@ -585,7 +585,7 @@ AAAMessage* AAATranslateMessage( unsigned char* source, 
unsigned int sourceLen,
        //AAAPrintMessage( msg );
        return  msg;
 error:
-       LM_ERR("AAATranslateMessage: message conversion droped!!\n");
+       LM_ERR("AAATranslateMessage: message conversion dropped!!\n");
        AAAFreeMessage(&msg);
        return 0;
 }
diff --git a/src/modules/cdp/receiver.c b/src/modules/cdp/receiver.c
index 0ff2fe15ae..2b4da266e3 100644
--- a/src/modules/cdp/receiver.c
+++ b/src/modules/cdp/receiver.c
@@ -751,7 +751,7 @@ int receive_loop(peer *original_peer)
                                                        LM_DBG("select_recv(): 
There is something on the send pipe\n");
                                                        cnt = 
read(sp->send_pipe_fd,&msg,sizeof(AAAMessage *));
                                                        if (cnt==0){
-                                                               //This is very 
stupid and might not work well - droped messages... to be fixed
+                                                               //This is very 
stupid and might not work well - dropped messages... to be fixed
                                                                
LM_INFO("select_recv(): ReOpening pipe for read. This should not happen...\n");
                                                                
close(sp->send_pipe_fd);
                                                                
sp->send_pipe_fd = open(sp->send_pipe_name.s, O_RDONLY | O_NDELAY);


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to