Module: kamailio
Branch: master
Commit: 5631338036c405b1e8c7fe8a1e320db2eb63c3f9
URL:
https://github.com/kamailio/kamailio/commit/5631338036c405b1e8c7fe8a1e320db…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-10-01T09:01:29+02:00
sms: fixed typo in comments (timout -> timeout)
---
Modified: src/modules/sms/libsms_modem.c
Modified: src/modules/sms/libsms_modem.h
---
Diff:
https://github.com/kamailio/kamailio/commit/5631338036c405b1e8c7fe8a1e320db…
Patch:
https://github.com/kamailio/kamailio/commit/5631338036c405b1e8c7fe8a1e320db…
---
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 */