[sr-dev] git:5.2:342e1dcd: sms: fixed typo in comments (timout -> timeout)

Daniel-Constantin Mierla miconda at gmail.com
Mon Oct 7 10:48:40 CEST 2019


Module: kamailio
Branch: 5.2
Commit: 342e1dcdd8d59269efe93f4c3e7651d4019e2dd5
URL: https://github.com/kamailio/kamailio/commit/342e1dcdd8d59269efe93f4c3e7651d4019e2dd5

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-10-07T10:41:19+02:00

sms: fixed typo in comments (timout -> timeout)

(cherry picked from commit 5631338036c405b1e8c7fe8a1e320db2eb63c3f9)

---

Modified: src/modules/sms/libsms_modem.c
Modified: src/modules/sms/libsms_modem.h

---

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

---

diff --git a/src/modules/sms/libsms_modem.c b/src/modules/sms/libsms_modem.c
index 5093d28ee2..fe0be1f8a7 100644
--- a/src/modules/sms/libsms_modem.c
+++ b/src/modules/sms/libsms_modem.c
@@ -125,7 +125,7 @@ int put_command( struct modem *mdm, char* cmd, int cmd_len, char* answer,
 				}
 			}
 		}
-	/* repeat until timout */
+	/* repeat until timeout */
 	}while (timeoutcounter<timeout);
 
 	if (!answer_e)
diff --git a/src/modules/sms/libsms_modem.h b/src/modules/sms/libsms_modem.h
index feeb6acac9..7eb0a80b04 100644
--- a/src/modules/sms/libsms_modem.h
+++ b/src/modules/sms/libsms_modem.h
@@ -31,7 +31,7 @@ typedef int(*cds_report)( struct modem* , char* , int );
 
 
 /* put_command
-   Sends a command to the modem and waits max timout*0.1 seconds for an answer.
+   Sends a command to the modem and waits max timeout*0.1 seconds for an answer.
    The function returns the length of the answer.
    The answer can be Ok, ERROR or expect.
    The command may be empty or NULL  */




More information about the sr-dev mailing list