Patch - spellchecking
"Pedro B." <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
For consideration. Note: It's not a FULL revision of all the files, line by line. Right now it is just a correction of the major flaws, to make it consistent in a global overview. If approved, i will continue to comb the source, but to reach a state of perfectionism, more time will be needed. \\pb
spell1.diff
(text/plain, 75 KB)
diff -ur kannel-1.4.0/ChangeLog kannel-1.4.0-spell/ChangeLog
--- kannel-1.4.0/ChangeLog 2004-08-05 13:55:21.000000000 +0100
+++ kannel-1.4.0-spell/ChangeLog 2004-08-11 00:22:47.664876464 +0100
@@ -1,12 +1,12 @@
2004-08-05 Alexander Malysh <olek2002 at hotmail.com>
- * gw/gw/bb_smscconn.c: applied patch that that make it possible to
- start/stop/restart of all smscconn's that have equals smsc-id's
+ * gw/gw/bb_smscconn.c: applied patch that makes it possible to
+ start/stop/restart of all smscconn's that have equal smsc-id's
instead of only one.
[Msg-Id: <[email protected]>].
2004-07-20 Alexander Malysh <olek2002 at hotmail.com>
* gwlib/date.c: fixed 'date_parse_iso' and 'date_create_iso'.
- date_create_iso: 'Z' at the and menas UTC time and not local time.
+ date_create_iso: 'Z' at the and means UTC time and not local time.
date_parse_iso: never works?!
2004-07-18 Alexander Malysh <olek2002 at hotmail.com>
diff -ur kannel-1.4.0/NEWS kannel-1.4.0-spell/NEWS
--- kannel-1.4.0/NEWS 2004-07-08 18:06:11.000000000 +0100
+++ kannel-1.4.0-spell/NEWS 2004-08-11 01:30:46.139970032 +0100
@@ -19,8 +19,8 @@
some more restrictions to the name "Kannel" and usage of it.
* SMPP changed recoding of source_addr and destination_addr on the MO side.
- We will pass an prefixed '+' to the smsbox side. Otherwise there is no
- chance for backend applicatins, like smsbox to descide what type of number
+ We will pass a prefixed '+' to the smsbox side. Otherwise there is no
+ chance for backend applicatins, like smsbox to decide what type of number
it is.
* EMI2 login operation 60 had a hard timeout of 30 sec. Some SMSC may need
@@ -42,7 +42,7 @@
server string, cookie support is enabled now by default, added new
'wap-url-map' and 'wap-user-map groups to replace deprecated 'map-url' map.
- * Renamed innternal SMSC module identifiers for the smsc group directive
+ * Renamed internal SMSC module identifiers for the smsc group directive
'smsc', which identifies which SMSC module is to be used for the specific
link, according to these: <emi2> to <emi>, <at2> to <at>, <emi> to
<emi_x25>.
@@ -62,7 +62,7 @@
* Added 'binfo' billing identifier/information element to bearerbox's
access.log log format.
- * Changed the way how DLR storage is "defined" while configure time, accoding
+ * Changed the way how DLR storage is "defined" while configure time, according
to this: removes '--with-dlr', --with-mysql to --with-mysql-dir,
--enable-[mysql|oracle|sdb|sqlite] to --with-[mysql|oracle|sdb|sqlite].
@@ -72,7 +72,7 @@
* SMPP added facility to specify SMSC service type with
'service-type = foo', adding handling of invaid userid and/or passwd to
- shutdown SMSC connection rather then retrying to reconnect, a set of
+ shutdown SMSC connection rather than retrying to reconnect, a set of
optional parameters (SMPP v3.4) have been added, UDH support for MOs,
handling of intermediately delivery notifications, added 'message_payload'
handling, added enhanced DLR parsing and handling of DLR's optional
@@ -84,8 +84,8 @@
* CIMD2 has been rewriten to the new SMSCConn API layer, added additional
support features 'our-host', 'our-port' and parameter 069 (service center
- address), harmonzied log message formating, new 'no-dlr' config directive
- to indicate if DLR requests should be proceeeded, added RPI
+ address), harmonized log message formating, new 'no-dlr' config directive
+ to indicate if DLR requests should be proceeded, added RPI
(return-path-indication) support and binfo support via tariff class, allows
setting PID for MT messages, adds "more messages to send" support.
@@ -103,14 +103,14 @@
* AT added +CMTI support for MO messages, 2 new config options
'max-error-count' and 'reset-string' for hard reset of the modem when modem
- crashed.
+ crashes.
* OISD has been rewriten to SMSCConn API, added validity support.
* HTTP admin command 'restart' added to restart bearerbox, 'loglevel' to
change log-level of log-files while bearerbox is running.
- * Added 'our-host' interface support for binding to an explicite interface
+ * Added 'our-host' interface support for binding to an explicit interface
on SMSC connections.
* Added smsc specific logging capability by handling open log files in
@@ -126,8 +126,8 @@
* Added internal restarting msg command among boxes.
- * Added new command line option ("-g" or "--generate") to bearebox. This
- option just dump all known config groups and options to stdout.
+ * Added new command line option ("-g" or "--generate") to bearerbox. This
+ option just dumps all known config groups and options to stdout.
* WAP added support for EFI inside WMLScript, added new application ids from
OMNA web page, WSP encoding-version handling, logging of upstream HTTP server
@@ -155,13 +155,13 @@
'reroute-smsc-id' and 'reroute-receiver' to multi-group 'smsc'. This allows
MOs to be directly turned into MTs within bearerbox.
- * ORACLE 8i/9i support added for database pools and DLR handling.
+ * ORACLE 8i/9i support added for database polls and DLR handling.
- * PostgrSQL support added for database pools.
+ * PostgrSQL support added for database polls.
- * SQLITE added SQLite support for database pools.
+ * SQLITE added SQLite support for database polls.
- * Added new escape code '%I' for URL translations to allow inclussion of the
+ * Added new escape code '%I' for URL translations to allow inclusion of the
internal SMS ID into the processing, new escape code '%T' for sending the
UNIX epoch timestamp in favor of '%t'.
@@ -184,7 +184,7 @@
allow custom core access.log formatting, 'access-log-time' to indicate if
localtime or gmt should be used within access.log.
- * Added new command line parameters for deamons (all boxes):
+ * Added new command line parameters for daemons (all boxes):
-P/--parachute : start watcher father process that catch and restart
crashed child process
-X/--panic-script : execute this script if child process crashed
@@ -324,7 +324,7 @@
* Added initial SMPP v3.4 optional fields support. Still very experimental.
Use the 'interface-version = 33' config directive if you don't want to
- relly on this new code.
+ rely on this new code.
* HTTP servers can bind to specific interfaces now.
@@ -343,7 +343,7 @@
smsc-id or receiver number rules to specific smsbox instances. This may
be several real smsboxes or even own boxes that act to bearerbox as if
they are smsboxes by using the same message communication interface. This
- is usefull for implementing own boxes that act as EMI/UCP or SMPP proxies.
+ is useful for implementing own boxes that act as EMI/UCP or SMPP proxies.
* iconv support has been added for character encoding. Adds 'alt-charset'
directive for the SMPP smsc group. Use iconv's type representation to
@@ -445,7 +445,7 @@
currently in the main queue.
* Added a '--with-cflags=CFLAGS' and '--with-libs=LIBS' configuration
- options. These are usefull when Kannel is linked again additional
+ options. These are useful when Kannel is linked against additional
proprietary modules.
* Improvements in the Siemens M20 GSM modem support.
@@ -462,7 +462,7 @@
* wapbox has an own access.log facility now.
- * Added the new 'smasi' SMSC type for connecting to SM/ASI protocoll SMSC,
+ * Added the new 'smasi' SMSC type for connecting to SM/ASI protocol SMSC,
like the CriticalPath InVoke SMS Center.
* Added HEAD method support for HTTP client module.
diff -ur kannel-1.4.0/contrib/webalizer/webalizer.conf kannel-1.4.0-spell/contrib/webalizer/webalizer.conf
--- kannel-1.4.0/contrib/webalizer/webalizer.conf 2003-07-13 19:50:27.000000000 +0100
+++ kannel-1.4.0-spell/contrib/webalizer/webalizer.conf 2004-08-11 01:25:47.796325160 +0100
@@ -76,7 +76,7 @@
IncrementalName webalizer.current
# ReportTitle is the text to display as the title. The hostname
-# (unless blank) is appended to the end of this string (seperated with
+# (unless blank) is appended to the end of this string (separated with
# a space) to generate the final full title string.
# Default is (for english) "Usage Statistics for".
@@ -251,7 +251,7 @@
#VisitTimeout 1800
# IgnoreHist shouldn't be used in a config file, but it is here
-# just because it might be usefull in certain situations. If the
+# just because it might be useful in certain situations. If the
# history file is ignored, the main "index.html" file will only
# report on the current log files contents. Usefull only when you
# want to reproduce the reports from scratch. USE WITH CAUTION!
@@ -315,7 +315,7 @@
TopUsers 10
# The All* keywords allow the display of all URL's, Sites, Referrers
-# User Agents, Search Strings and Usernames. If enabled, a seperate
+# User Agents, Search Strings and Usernames. If enabled, a separate
# HTML page will be created, and a link will be added to the bottom
# of the appropriate "Top" table. There are a couple of conditions
# for this to occur.. First, there must be more items than will fit
@@ -325,7 +325,7 @@
# items. Grouped entries will be listed first, followed by individual
# items. The value for these keywords can be either 'yes' or 'no',
# with the default being 'no'. Please be aware that these pages can
-# be quite large in size, particularly the sites page, and seperate
+# be quite large in size, particularly the sites page, and separate
# pages are generated for each month, which can consume quite a lot
# of disk space depending on the traffic to your site.
@@ -367,7 +367,7 @@
# the grouping record is displayed), follow with an identical Hide*
# keyword with the same value. (see example below) In addition,
# Group* keywords may have an optional label which will be displayed
-# instead of the keywords value. The label should be seperated from
+# instead of the keywords value. The label should be separated from
# the value by at least one 'white-space' character, such as a space
# or tab.
#
@@ -484,7 +484,7 @@
# precidence over the Ignore* keywords. Note: Using Ignore/Include
# combinations to selectivly process parts of a web site is _extremely
# inefficent_!!! Avoid doing so if possible (ie: grep the records to a
-# seperate file if you really want that kind of report).
+# separate file if you really want that kind of report).
# Example: Only show stats on Joe User's pages...
#IgnoreURL *
@@ -533,7 +533,7 @@
#SearchEngine northernlight.com qr=
# The Dump* keywords allow the dumping of Sites, URL's, Referrers
-# User Agents, Usernames and Search strings to seperate tab delimited
+# User Agents, Usernames and Search strings to separate tab delimited
# text files, suitable for import into most database or spreadsheet
# programs.
diff -ur kannel-1.4.0/doc/ChangeLog-0.13.1 kannel-1.4.0-spell/doc/ChangeLog-0.13.1
--- kannel-1.4.0/doc/ChangeLog-0.13.1 2002-08-11 15:11:11.000000000 +0100
+++ kannel-1.4.0-spell/doc/ChangeLog-0.13.1 2004-08-11 01:16:29.827059984 +0100
@@ -2304,7 +2304,7 @@
but ack_pdu_sent (this bug is pointed out out by Huang Li), when ack
pdu was send. Used constant ACKNOWLEDGEMENT everywhere in
wtp_send_calls. Noticed invalid use of 'resent' in the specs. Rid-flag
- is not turned when ack is sended, because the iniator does not use
+ is not turned when ack is sent, because the iniator does not use
this flag (only rid of result message is used by it. This is pointed
out by Huang Li, too).
@@ -4783,7 +4783,7 @@
2000-05-17 Aarno Syvänen <[email protected]>
* wtp_state-decl.h: Two bugfixes: rid to 0, when the result is
- sended first time (thanks to Oliver Lau), conditions checking
+ sent first time (thanks to Oliver Lau), conditions checking
whether u/p-flag is up corrected.
2000-05-16 <Kalle Marjola <[email protected]>>
@@ -5766,7 +5766,7 @@
2000-04-07 Aarno Syvänen <[email protected]>
* wtp.c, wtp_state-decl.h: Included wtp_timer_destroy call in function
- machine_mark_unused, so that a timer created is allways destroyed when
+ machine_mark_unused, so that a timer created is always destroyed when
a transaction ends.
Fri Apr 7 15:08:50 2000 Lars Wirzenius <[email protected]>
@@ -6208,7 +6208,7 @@
2000-03-28 Aarno Syvänen <[email protected]>
- * wtp_state-decl.h: Allocated memory for resended messages
+ * wtp_state-decl.h: Allocated memory for resent messages
* wapbox.c: Deallocate memory reserved for messages. (Based on tips
from Paul Keogh) In addition, added timer mutex iniatilisation.
@@ -7215,7 +7215,7 @@
wtp machine rewritten with the previous attribute added.
* wtp_send.c|h: function wtp_resend_result added. Function send_result
- now returns the sended message.
+ now returns the sent message.
Thu Jan 27 17:34:53 2000 Lars Wirzenius <[email protected]>
diff -ur kannel-1.4.0/doc/ChangeLog-1.1.6 kannel-1.4.0-spell/doc/ChangeLog-1.1.6
--- kannel-1.4.0/doc/ChangeLog-1.1.6 2002-08-11 15:11:11.000000000 +0100
+++ kannel-1.4.0-spell/doc/ChangeLog-1.1.6 2004-08-11 01:35:58.824775688 +0100
@@ -48,7 +48,7 @@
2002-03-26 Stipe Tolj <[email protected]>
* checks/check_[fakesmsc|pph].sh: need some time before trying to grep
- around in the logs and descide if things are doing well
+ around in the logs and decide if things are doing well
2002-03-26 Stipe Tolj <[email protected]>
* gw/pushkannel.conf: adjusted log-file entries for make checking
@@ -256,7 +256,7 @@
our_port is undef, emi2 switches to alt-host:port) (should be used with
retry = true)
* gw/smsc_emi2.c: Always set status=RECONNECTING on entering
- open_send_connection and status=ACTIVE on sucessful connection
+ open_send_connection and status=ACTIVE on successful connection
* gw/smsc_emi2.c: Don't set why_killed=SMSC_KILLED_PASSWORD when retry is
true, because emi2 won't be really killed
* gw/smsbox.c: Added octstr_destroy to sendsms_url and sendota_url
@@ -545,7 +545,7 @@
* test/test_ota.c: Added a test program for it
* gw/settings.dtd: Added a DTD for OTA compiler
* test/test_http.c: Better debugging. Added an option for reading the
- test message from a file; usefull when it contains lots of unsafe
+ test message from a file; useful when it contains lots of unsafe
characters
* gwlib/charset.c: In function charset_to_utf8: If the original charset
is utf8, return immediately (to still an annoying error message)
diff -ur kannel-1.4.0/doc/ChangeLog-1.2.1 kannel-1.4.0-spell/doc/ChangeLog-1.2.1
--- kannel-1.4.0/doc/ChangeLog-1.2.1 2002-10-20 09:51:59.000000000 +0100
+++ kannel-1.4.0-spell/doc/ChangeLog-1.2.1 2004-08-11 01:31:30.316875984 +0100
@@ -250,10 +250,10 @@
2002-08-15 Stipe Tolj <[email protected]>
* doc/userguide/userguide.xml: added new SMSC type section for the SM/ASI
- protocoll.
+ protocol.
* gw/smsc/smasi_pdu.[chdef], gw/smsc/smsc_smasi.c, gw/smscconn.c,
gw/smscconn_p.h: added the new 'smasi' SMSC type for connecting to
- SM/ASI protocoll SMSC, like the CriticalPath InVoke SMS Center.
+ SM/ASI protocol SMSC, like the CriticalPath InVoke SMS Center.
2002-08-15 Stipe Tolj <[email protected]>
* gw/bb_smscconn.c: removing debug line from previous testing and
@@ -276,7 +276,7 @@
2002-08-11 Stipe Tolj <[email protected]>
* gw/smsc/smpp_pdu.[chdef], gw/smsc/smsc_smpp.c: rollback to previous
- revision and adding a silent fix to SMPP PDU elements that are to long.
+ revision and adding a silent fix to SMPP PDU elements that are too long.
* Makefile.in: fixing missing dependency generation in file .depend for
all modules in the 'new' gw/smsc sub-directory. This has caused to keep
make quite, even while source files changed in gw/smsc.
@@ -411,7 +411,7 @@
2002-08-02 Harrie Hazewinkel <[email protected]>
* Added a '--with-cflags=CFLAGS' and '--with-libs=LIBS' configuration
- options. These are usefull when Kannel is linked again additional
+ options. These are useful when Kannel is linked again additional
proprietary modules, such as an SNMP module.
2002-08-02 Stipe Tolj <[email protected]>
diff -ur kannel-1.4.0/doc/ChangeLog-1.3.0 kannel-1.4.0-spell/doc/ChangeLog-1.3.0
--- kannel-1.4.0/doc/ChangeLog-1.3.0 2003-01-05 18:52:33.000000000 +0000
+++ kannel-1.4.0-spell/doc/ChangeLog-1.3.0 2004-08-11 00:24:02.527163776 +0100
@@ -189,7 +189,7 @@
allows routing based upon smsc-id or receiver number rules to specific
smsbox instances. This may be several real smsboxes or even own boxes that
act to bearerbox as if they are smsboxes by using the same message
- communication interface. This is usefull for implementing own boxes that
+ communication interface. This is useful for implementing own boxes that
act as EMI/UCP or SMPP proxies.
[Msg-ID: <[email protected]>]
diff -ur kannel-1.4.0/doc/ChangeLog-1.3.1 kannel-1.4.0-spell/doc/ChangeLog-1.3.1
--- kannel-1.4.0/doc/ChangeLog-1.3.1 2003-02-17 12:39:13.000000000 +0000
+++ kannel-1.4.0-spell/doc/ChangeLog-1.3.1 2004-08-11 00:36:24.155341424 +0100
@@ -25,7 +25,7 @@
compiling kannel with openssl 0.9.7
2003-02-15 Stipe Tolj <[email protected]>
- * gw/*.conf: harmonized the example config files. Deleted espacially
+ * gw/*.conf: harmonized the example config files. Deleted specially
developer specific config values that are of no use for a normal user.
* gw/wap_push_ppg.c, gw/wap_push_ppg_pushuser.c: fixed some minor parts
of Aarno's PPG SMSC routing patch.
diff -ur kannel-1.4.0/doc/ChangeLog-1.3.2 kannel-1.4.0-spell/doc/ChangeLog-1.3.2
--- kannel-1.4.0/doc/ChangeLog-1.3.2 2004-07-14 11:42:18.000000000 +0100
+++ kannel-1.4.0-spell/doc/ChangeLog-1.3.2 2004-08-11 02:01:36.862324088 +0100
@@ -24,7 +24,7 @@
break the quoted parameter parsing within revision 1.17. Reverting this
back to the previous behaviour to make test/test_headers.c happy again.
* test/test_header.c: fixing trivial compiler warning
- * test/header_test: chaning the expected values to have quoted parameter
+ * test/header_test: changing the expected values to have quoted parameter
values to make the test program happy again.
2004-07-09 Stipe Tolj <[email protected]>
@@ -86,7 +86,7 @@
* gwlib/semaphore.[ch]: added 'semaphore_getvalue' function.
2004-06-25 Alexander Malysh <[email protected]>
- * gwlib/log.c: fixed (workarounded) endless panic loop if memcheck were enabled.
+ * gwlib/log.c: fixed (workarounded) endless panic loop if memcheck was enabled.
2004-06-22 Alexander Malysh <[email protected]>
* doc/userguide/userguide.xml: fixed typo bug#133. additionaly reviewed and fixed
@@ -104,12 +104,12 @@
2004-06-20 Alexander Malysh <[email protected]>
* gw/smscconn.c, gw/smscconn_p.h: more speedup. Changed
[allowed|denied|preferred]_smsc_id from 'Octstr' to 'List'.
- So we have no need allways to parse the whole string and split it
+ So we have no need to always parse the whole string and split it
into the list. Now we just split it while starting only once.
2004-06-20 Alexander Malysh <[email protected]>
* gw/smscconn.[ch], gw/smscconn_p.h: made status/killed enums named.
- Teached 'struct StatusInfo' to use named enums for status/killed.
+ Taught 'struct StatusInfo' to use named enums for status/killed.
Changed return value to 'const Octstr* for 'smscconn_name' and 'smscconn_id'
functions, so the caller see that those _may_ _not_ be freed.
* gw/bb_alog.c gw/bb_smscconn.c: fixed const identifier warnings.
@@ -452,7 +452,7 @@
2004-02-16 Stipe Tolj <[email protected]>
* gw/smsc/smsc_cimd2.c: added RPI (return-path-indication) support and
- binfo support via tariff class in CIMD protocoll.
+ binfo support via tariff class in CIMD protocol.
Thanks to "Arne K. Haaje" <[email protected]> for the patch.
[Msg-ID: <[email protected]>]
@@ -486,7 +486,7 @@
in case we couldn't connect to bearerbox. This allows the caller to
deside if a panic is applicable or a loop will be entered to try to
re-connect. Whereas connect_to_bearerbox() keeps to throw panic on
- unsuccessfull connect.
+ unsuccessful connect.
2004-01-29 Aarno Syv\132nen <[email protected]>
* gw/wap_push_ppg_pushuser.c: Fixed a fatal bug appearing when
@@ -575,7 +575,7 @@
2004-01-20 Alexander Malysh <[email protected]>
* gw/bearerbox.c, gw/smsbox.c, gwlib/utils.c, doc/userguide/userguide.xml:
- applied parachute-daemon.patch that adds some usefull command line parameters
+ applied parachute-daemon.patch that adds some useful command line parameters
for all boxes:
1) -P/--parachute : start watcher father process that catch and restart
crashed child process
@@ -798,7 +798,7 @@
* gwlib/accesslog.c: fixed compiler warning about zero-length format string.
Got rid of buffer allocation, just allocate on the stack.
2003-11-26 Alexander Malysh <[email protected]>
- * gwlib/http.c: fixed memory leak if conn_wrap_fd(...) failed due to unsuccessfull
+ * gwlib/http.c: fixed memory leak if conn_wrap_fd(...) failed due to unsuccessful
SSL handshake.
2003-11-26 Stipe Tolj <[email protected]>
@@ -1018,7 +1018,7 @@
2003-10-30 Stipe Tolj <[email protected]>
* gwlib/regex.[ch]: made regex functions display calling function in case
- of error. This is usefully for later debugging purposes. Added functions
+ of error. This is useful for later debugging purposes. Added functions
gw_regex_[match|subst]_[pre]() for simple matchin and substituion
operations on Octstr. Either passing the RE in plain text or as
pre-compiled structure.
@@ -1285,7 +1285,7 @@
change current behaviour and gives more flexibility for other boxes.
* gwlib/parse.c: fixed pasing issues in parse_get_line() and
parse_get_seperated_block()
- * gwlib/mime.c: fixed CRLF handling for headers and boundary seperators.
+ * gwlib/mime.c: fixed CRLF handling for headers and boundary separators.
2003-09-15 Stipe Tolj <[email protected]>
* wap/wsp_headers.[ch]: relabeled strip_parameters() and
@@ -1313,7 +1313,7 @@
2003-09-10 Stipe Tolj <[email protected]>
* gwlib/parse.[ch]: added routines parse_get_line() to get the Octstr
stream up to an EOL and parse_get_seperated_block() to get an next
- Octstr block between two seperators.
+ Octstr block between two separators.
* gwlib/mime.[ch]: added MIME multipart/related parsing routines. This
allows to parse an MIME document given as Octstr into our own
MIMEEntity representation which is a hierarchical linked structure.
@@ -1332,9 +1332,9 @@
* gw/smsc/smsc_smpp.c: changed pdu_to_msg() to recode source_addr and
destination_addr on the MO side. We will pass an prefixed '+' to the
smsbox side. Otherwise there is no chance for backend applicatins, like
- smsbox to descide what type of number it is.
- BEWARE: this may be an behaviour change for your individual setup, if
- you relly that the number is transmitted in pure TON=1 notation to the
+ smsbox to decide what type of number it is.
+ BEWARE: this may be a behaviour change for your individual setup, if
+ you rely that the number is transmitted in pure TON=1 notation to the
smsbox. In this case please use unified-prefix on the smsc group level
to get rid of the prefixed '+'.
Thanks to Alex for providing the patch.
@@ -1361,7 +1361,7 @@
2003-09-02 Stipe Tolj <[email protected]>
* gwlib/socket.c: fixed a segmentation bug. If setup_official_name()
- did not have a successfull gw_gethostbyname() call, then
+ did not have a successful gw_gethostbyname() call, then
gw_netaddr_to_octstr4() would cause to cause segmentation fault.
2003-09-01 Stipe Tolj <[email protected]>
@@ -1467,7 +1467,7 @@
* gw/smsbox.c: more info about deprecated fields in the warning strings.
2003-08-08 Stipe Tolj <[email protected]>
- * gw/wap-appl.c: major bug fixing BUG#76. We *only* pass the orginal
+ * gw/wap-appl.c: major bug fixing BUG#76. We *only* pass the original
client request headers to the convert_content() routine, not the once
passed to the HTTP server. This broke connection-less mode.
@@ -1782,7 +1782,7 @@
you want to use delivery reports
* gw/dlr.c: dlr_add and dlr_find returns nothing if smsc-id is empty,
logging an warning asking for "smsc-id"
- * gw/dlr.h: added some macros to test dlr_mask values, especially now
+ * gw/dlr.h: added some macros to test dlr_mask values, specially now
that it could have the value "-1" ;)
* gw/dlr.c, gw/shared.c: now uses dlr.h macros to test dlr_mask
* gw/msg.c: reset structure on msg_create(sms) to make sure that every
@@ -2592,7 +2592,7 @@
to register to a specific exlusive log file.
* gw/smsc/smsc_[at2|cgw|emi2|fake|http|smasi|smpp|wrapper].c: added
register calls log_thread_to() within the working threads in case the
- smsc-id should be logged to a seperate, exlucive log-file.
+ smsc-id should be logged to a separate, exlucive log-file.
2003-03-04 Stipe Tolj <[email protected]>
* gw/smsc/smsc_smasi.c: fixed bugs in pdu_to_msg(), including the setting
@@ -2606,7 +2606,7 @@
[Msg-ID: <[email protected]>]
* gwlib/conn.[ch], gwlib/http.c: fixed a serious pthread_mutex bug for
the call-back function to the openssl thread locking. We used two
- seperate lock array, one for the client and one for the server side.
+ separate lock array, one for the client and one for the server side.
But openssl does not know about those, and you can't register two
different call-backs for client/server side. This should make now
a lot of ssl related things more cleaner.
diff -ur kannel-1.4.0/doc/arch/arch.xml kannel-1.4.0-spell/doc/arch/arch.xml
--- kannel-1.4.0/doc/arch/arch.xml 2002-04-26 11:25:12.000000000 +0100
+++ kannel-1.4.0-spell/doc/arch/arch.xml 2004-08-11 01:45:56.761045160 +0100
@@ -395,7 +395,7 @@
1998, but wasn't implemented in phones. The 1.1 specification
came out in July, 1999, and was the first one implemented in
publically available phones. 1.2.1 came out in June 2000, and
- phones implementing it (and especially push) are now available,
+ phones implementing it (and specially push) are now available,
too. Work on WAP 2.0 is closing. It will converge WAP with Internet
protocols and W3C markup languages.</para>
@@ -634,7 +634,7 @@
<title>WAP Push Architecture</title>
<para>Previous chapters defined pull mode of operation: a phone starts
everything and a content server acts passively. It is, however,
- sometimes usefull that the server can start a transaction. Email
+ sometimes useful that the server can start a transaction. Email
notifications, news services and stock quotes are some examples of
this mode of service.</para>
@@ -831,7 +831,7 @@
directly from the gateway, it made sense to create an open source
project to develop the gateway. This way, it would be possible
to get help from other companies, and to some extent individuals,
- in developing the gateway, and especially in testing the gateway
+ in developing the gateway, and specially in testing the gateway
in various environment.</para>
<para>The gateway project was launched in July, 1999, at the
@@ -1068,7 +1068,7 @@
<footnote><para><emphasis>Box</emphasis> seemed like
a nice, non-technical term that should be understandable
- for marketing people, especially if each box is run on
+ for marketing people, specially if each box is run on
its own host. In this case, each Kannel box corresponds
to a physical box, which should be clear enough.</para>
</footnote>
@@ -1372,7 +1372,7 @@
https_read_thread</literal>accept pushes from the push initiator.
</para>
<para><literal>pap_request_thread</literal>parses MIME content
- sended, compiles pap control document, implements required PPG
+ sent, compiles pap control document, implements required PPG
services and converts push content to the tokenized form. It
informs push iniatiator, by sending relevant PAP messages to it,
errors happened during these processess and communicates with OTA
@@ -1401,7 +1401,7 @@
<itemizedlist>
<listitem><para>
- Bearerbox communication layer. This layer is allways same.
+ Bearerbox communication layer. This layer is always the same.
</para></listitem>
<listitem><para>
Sessionless WSP layer. This layer exchanges messages with the
@@ -1728,7 +1728,7 @@
<para>Push XML languages (SI, SL, CO) are similar to WML, but their
compilation is even simpler (no variables here, for instance). They do
not use a string table either, because push documents, which are
- sended over SMS, <emphasis> must</emphasis> be small. </para>
+ sent over SMS, <emphasis> must</emphasis> be small. </para>
<para>The WMLScript compiler is a more traditional programming
language compiler. The binary output format is a bytecode,
@@ -1835,7 +1835,7 @@
<para>Building an open source development community around Kannel
has proved to be a much harder task. Partly this is because Kannel
is of interest to a fairly small group of people, but mostly it is
- because especially at the beginning the development discussions were
+ because specially at the beginning the development discussions were
not open, in practice, to people outside Wapit. Many of the discussions
were held face to face between Wapit developers, or on internal
Wapit mailing lists, and this effectively shut out outside developers.
@@ -2038,7 +2038,7 @@
<highlights>
<para>This chapter discusses the plans for the future of the
- gateway: implementation of missing features (especially
+ gateway: implementation of missing features (specially
WTLS and WCMP), more bearers, updates to new versions of WAP.
It also outlines needs and plans for higher reliability
(keeping transactions and sessions alive over box crashes) and
@@ -2058,7 +2058,7 @@
the software is being employed. Among the missing features are
the WAP security layer (WTLS), features from new versions of
the WAP specification (WAP 1.2 and the June 2000 versions),
- and using other WAP bearers than UDP, especially SMS messages.</para>
+ and using other WAP bearers than UDP, specially SMS messages.</para>
<para>Some of the work for these is already going on. There is
an implementation of WTLS for Kannel, provided by 3UI.COM, but
diff -ur kannel-1.4.0/doc/examples/dlr-sdb.conf kannel-1.4.0-spell/doc/examples/dlr-sdb.conf
--- kannel-1.4.0/doc/examples/dlr-sdb.conf 2004-05-18 15:14:21.000000000 +0100
+++ kannel-1.4.0-spell/doc/examples/dlr-sdb.conf 2004-08-11 02:24:19.710050864 +0100
@@ -1,4 +1,3 @@
-#
# DLR with LibSDB support configuration
#
# Example defining a LibSDB resource (as an abstraction of a real database)
@@ -9,12 +8,7 @@
#
# mysql:host=XXX:db=XXX:uid=XXX:pwd=XXX
# postgres:host=XXX:db=XXX:port=XXX
-# oracle:uid=XXX:pwd=XXX OR oracle:uid=username/password@instance
-# sqlite:db=/full/path/to/db
-# lago:host=XXX:port=XXX:db=XXX:uid=XXX:pwd=XXX
-# mimer:db=XXX:uid=XXX:pwd=XXX
# odbc:dsn=postgresql
-# sdbd:host:port:url=XXX
# text:/path/to/db/ (note trailing slash)
#
# Beware that you have the DB support build in your LibSDB installation
@@ -23,27 +17,8 @@
# LibSDB is available at http://siag.nu/libsdb/
#
-group = sdb-connection
-id = pgdlr
-url = "postgres:host=localhost:db=myapp:port=1234"
-max-connections = 1
#
-# Create the required table for the DLR support in the database
-# with something similar like this, i.e. for MySQL:
-#
-# CREATE TABLE dlr (
-# smsc varchar(40),
-# ts varchar(40),
-# destination varchar(40),
-# source varchar(40),
-# service varchar(40),
-# url varchar(255),
-# mask int(10),
-# status int(10),
-# boxc varchar(40)
-# )
-#
# For Postgres:
#
# CREATE TABLE dlr (
@@ -61,6 +36,10 @@
# the appropriate table space and connection details for the real DB.
#
+group = sdb-connection
+id = pgdlr
+url = "postgres:host=localhost:db=myapp:port=1234"
+max-connections = 1
group = dlr-db
id = pgdlr
table = dlr
diff -ur kannel-1.4.0/doc/userguide/userguide.xml kannel-1.4.0-spell/doc/userguide/userguide.xml
--- kannel-1.4.0/doc/userguide/userguide.xml 2004-07-07 13:39:56.000000000 +0100
+++ kannel-1.4.0-spell/doc/userguide/userguide.xml 2004-08-11 01:46:12.637631552 +0100
@@ -169,7 +169,7 @@
as the first WAP 1.1 gateway in the world.</para>
<para>Greater quality recognization are the quantity of companies
- using Kannel to successful connect to a variety of SMSC protocols
+ using Kannel to successfully connect to a variety of SMSC protocols
in lots of countries.</para>
<para><ulink url="http://www.opensource.org">Open Source</ulink>
@@ -277,7 +277,7 @@
describing the content. Then the user can decide does he accept push or not.
</para>
- <para>The push content is sended to the phones over SMS, but the
+ <para>The push content is sent to the phones over SMS, but the
content is fetched by the phone over IP bearer, for instance CSD
or GPRS. Because Push Proxy Gateway tokenises SI and SL documents, it
may fit one SMS message (if not, it is segmented for transfer). </para>
@@ -1206,7 +1206,7 @@
If set to true, the smsbox connection module will be SSL-enabled.
Your smsboxes will have to connect using SSL to the bearerbox
then. This is used to secure communication between bearerbox
- and smsboxes in case they are in seperate networks operated and
+ and smsboxes in case they are in separate networks operated and
the TCP communication is not secured on a lower network layer.
Defaults to "no".
</entry></row>
@@ -1224,7 +1224,7 @@
If set to true, the wapbox connection module will be SSL-enabled.
Your wapboxes will have to connect using SSL to the bearerbox
then. This is used to secure communication between bearerbox
- and wapboxes in case they are in seperate networks operated and
+ and wapboxes in case they are in separate networks operated and
the TCP communication is not secured on a lower network layer.
Defaults to "no".
</entry></row>
@@ -2382,7 +2382,7 @@
<entry>filename</entry>
<entry valign="bottom">
A file in which to write a log of the given smsc output. Hence
- this allows to log smsc specific entries to a seperate file.
+ this allows to log smsc specific entries to a separate file.
</entry></row>
<row><entry><literal>log-level</literal></entry>
@@ -3507,7 +3507,7 @@
<entry><literal>integer</literal></entry>
<entry valign="bottom">
Maximal error count for opening modem device or initializing of the modem before
- <literal>reset-string</literal> will be executed. This is usefull when modem crashed and needs
+ <literal>reset-string</literal> will be executed. This is useful when modem crashed and needs
hard reset. Default disabled.
</entry></row>
@@ -4592,7 +4592,7 @@
<para>In case you use different MySQL connections for several storage
issues, i.e. one for DLR and another different one for sms-service you
may use the <literal>include</literal> configuration statement to extract
- the MySQL related configuration groups to a seperate <literal>mysql.conf
+ the MySQL related configuration groups to a separate <literal>mysql.conf
</literal> file.
</para>
@@ -5126,7 +5126,7 @@
the message into Kannel message representation and inject the message to
bearerbox as if it would be an smsbox. As you want to assign your clients
shortcuts for certain networks or route any inbound traffic from a certain
- smsc link connected to bearerbox, you need to seperate in the scope of
+ smsc link connected to bearerbox, you need to separate in the scope of
bearerbox where the inbound message will be going to. An example may
look like this:
@@ -5177,7 +5177,7 @@
<entry>word-list</entry>
<entry valign="bottom">
If set, specifies from which smsc-ids all inbound messages should
- be routed to this smsbox instance. List contains smsc-ids seperated
+ be routed to this smsbox instance. List contains smsc-ids separated
by semicolon (";"). This rule may be used to pull any smsc specific
message stream to an smsbox instance.
</entry></row>
@@ -5186,7 +5186,7 @@
<entry>number-list</entry>
<entry valign="bottom">
If set, specifies which receiver numbers for inbound messages should
- be routed to this smsbox instance. List contains numbers seperated
+ be routed to this smsbox instance. List contains numbers separated
by semicolon (";"). This rule may be used to pull receiver number
specific message streams to an smsbox instance.
</entry></row>
@@ -5723,7 +5723,7 @@
<row><entry><literal>%C</literal></entry><entry>
message charset: for a "normal" message, it will
be "gsm" (coding=1), "binary" (coding=2) or
-"UTF16-BE" (coding=3). If the message was sucessfully
+"UTF16-BE" (coding=3). If the message was successfully
recoded from unicode, it will be "ISO-8859-1"
</entry></row>
@@ -6952,7 +6952,7 @@
Name or ID of the 'ota-setting' group in Kannel configuration
that should be sent to the phone. This variable is optional.
If it is not given the first 'ota-setting' group is sent. This
- is unnecessary when a XML document is sended to the phone.
+ is unnecessary when a XML document is sent to the phone.
</entry></row>
<row><entry><literal>username</literal></entry>
@@ -7672,7 +7672,7 @@
</para></listitem>
</orderedlist>
- That is why you can specify seperate certification files within
+ That is why you can specify separate certification files within
the core group to be used for the HTTP sides.</para>
<para>You can use one or both sides of the SSL support. There
@@ -8053,7 +8053,7 @@
</push-message>
</pap>
</programlisting>
- Because the push content is sended to the phone over SMS, rigth value for
+ Because the push content is sent to the phone over SMS, rigth value for
<literal>network-required</literal> and <literal>bearer-required
</literal> is true, for <literal>network</literal> GSM and for <literal>bearer
</literal> SMS. However, you can omit these values alltogether, if you use
@@ -8110,7 +8110,7 @@
<para>PPG test environment contains, in addition of wapbox and
bearerbox, two test programs, <literal>test_ppg</literal> (simulating
push initiator) and <literal>test_http_server</literal> (simulating
- a SMSC center accepting pushed content sended over SMS. You can find
+ a SMSC center accepting pushed content sent over SMS. You can find
both of these programs in <literal>test</literal> directory, and they
both are short and easily editable. </para>
@@ -8259,7 +8259,7 @@
message.</para>
<para>Nokia Toolkit, instead, displays push headers, decompiles
tokenised documents and outputs debugging information. It is not,
- of course, a carbon copy of a real phone. But it is still usefull
+ of course, a carbon copy of a real phone. But it is still useful
for checking spec conformance of push servers.</para>
<para>Toolkit runs on Windows, the first thing you must is to install
a virtual machine (VMWare is one possibility) in the machine where
@@ -8267,7 +8267,7 @@
gateway.</para>
<para>Then start <literal>bearerbox</literal> and <literal>wapbox
</literal> similar way as told before. You must set the correct client
- address in the push document sended by <literal>test_ppg</literal>
+ address in the push document sent by <literal>test_ppg</literal>
program. Use IP address of our virtual machine (easiest way to get this
is to ping your virtual machine name in the dos prompt window). Your
bearer is in this case IP. An example pap document follows:</para>
@@ -8791,7 +8791,7 @@
<para>If Kannel is configured so that the bearerbox, wapbox and/or smsbox
log to file each of these log files will continue to grow unless administered
- in some way (this is especially true if access logs are created and/or the
+ in some way (this is specially true if access logs are created and/or the
log level is set to debug). </para>
<para>
diff -ur kannel-1.4.0/gw/bb_alog.c kannel-1.4.0-spell/gw/bb_alog.c
--- kannel-1.4.0/gw/bb_alog.c 2004-06-20 22:25:19.000000000 +0100
+++ kannel-1.4.0-spell/gw/bb_alog.c 2004-08-11 00:43:36.807557360 +0100
@@ -88,20 +88,20 @@
* %M - message waiting indicator (mwi)
* %C - compress indicator
* %d - dlr_mask
- * %a - the orginal SMS message, spaces squeezed
+ * %a - the original SMS message, spaces squeezed
* %u - UDH data (in escaped form)
* %U - length of UDH data
* %k - the keyword in the SMS request (the first word in the SMS message)
* %s - next word from the SMS message, starting with the second one
* %S - same as %s, but '*' is converted to '~'
* %r - words not yet used by %s
- * %b - the orginal SMS message
+ * %b - the original SMS message
* %L - length of SMS message
* %t - the time of the message, formatted as "YYYY-MM-DD HH:MM:SS"
* %T - the time of the message, in UNIX epoch timestamp format
* %I - the internal message ID
*
- * Most escape codes should be compatibel with escape codes used in
+ * Most escape codes should be compatible with escape codes used in
* sms-service groups.
*
* The default access-log-format would look like this (if access-log-clean is true):
diff -ur kannel-1.4.0/gw/bb_boxc.c kannel-1.4.0-spell/gw/bb_boxc.c
--- kannel-1.4.0/gw/bb_boxc.c 2004-06-28 14:36:09.000000000 +0100
+++ kannel-1.4.0-spell/gw/bb_boxc.c 2004-08-11 01:28:11.074543560 +0100
@@ -1059,7 +1059,7 @@
smsc_ids = cfg_get(grp, octstr_imm("smsc-ids"));
shortcuts = cfg_get(grp, octstr_imm("shortcuts"));
- /* now parse the smsc-ids and shortcuts semicolon seperated list */
+ /* now parse the smsc-ids and shortcuts semicolon separated list */
if (smsc_ids) {
items = octstr_split(smsc_ids, octstr_imm(";"));
for (i = 0; i < list_len(items); i++) {
diff -ur kannel-1.4.0/gw/bearerbox.h kannel-1.4.0-spell/gw/bearerbox.h
--- kannel-1.4.0/gw/bearerbox.h 2004-06-28 16:15:40.000000000 +0100
+++ kannel-1.4.0-spell/gw/bearerbox.h 2004-08-11 01:28:21.472962760 +0100
@@ -73,7 +73,7 @@
BB_SUSPENDED = 2, /* do not transfer any messages */
BB_SHUTDOWN = 3,
BB_DEAD = 4,
- BB_FULL = 5 /* message queue to long, do not accept ne messages */
+ BB_FULL = 5 /* message queue too long, do not accept new messages */
};
@@ -109,7 +109,7 @@
int wapbox_start(Cfg *config);
Octstr *boxc_status(int status_type);
-/* tell total number of messages in seperate wapbox incoming queues */
+/* tell total number of messages in separate wapbox incoming queues */
int boxc_incoming_wdp_queue(void);
/* Clean up after box connections have died. */
@@ -136,7 +136,7 @@
/* add outgoing WDP. If fails, return -1 and msg is untouched, so
* caller must think of new uses for it */
int udp_addwdp(Msg *msg);
-/* tell total number of messages in seperate UDP outgoing port queues */
+/* tell total number of messages in separate UDP outgoing port queues */
int udp_outgoing_queue(void);
diff -ur kannel-1.4.0/gw/dlr.c kannel-1.4.0-spell/gw/dlr.c
--- kannel-1.4.0/gw/dlr.c 2004-06-09 11:06:33.000000000 +0100
+++ kannel-1.4.0-spell/gw/dlr.c 2004-08-11 00:43:11.081468320 +0100
@@ -393,7 +393,7 @@
/* if dlr_url was present, recode it here again */
O_SET(msg->sms.dlr_url, dlr->url);
/*
- * insert orginal message to the data segment
+ * insert original message to the data segment
* later in the smsc module
*/
msg->sms.msgdata = NULL;
diff -ur kannel-1.4.0/gw/numhash.h kannel-1.4.0-spell/gw/numhash.h
--- kannel-1.4.0/gw/numhash.h 2004-01-22 14:08:24.000000000 +0000
+++ kannel-1.4.0-spell/gw/numhash.h 2004-08-11 01:46:26.574512824 +0100
@@ -66,7 +66,7 @@
* case of 32 bit longs, only last 9 digits are checked, otherwise
* last 18 digits. This means that in some places several numbers
* might map to same hash entry, and thus some caution is needed
- * especially with telephone number black lists
+ * specially with telephone number black lists
*
* USAGE:
* the system is not very dynamic; if you want to resize the table
diff -ur kannel-1.4.0/gw/shared.h kannel-1.4.0-spell/gw/shared.h
--- kannel-1.4.0/gw/shared.h 2004-06-28 16:48:29.000000000 +0100
+++ kannel-1.4.0-spell/gw/shared.h 2004-08-11 01:36:26.825518928 +0100
@@ -133,7 +133,7 @@
* Delivers a SMS to the bearerbox and returns an error code: 0 if
* successfull. -1 if transfer failed.
*
- * Note: Message is only destroyed if sucessfully delivered!
+ * Note: Message is only destroyed if successfully delivered!
*/
int deliver_to_bearerbox_real(Connection *conn, Msg *msg);
int deliver_to_bearerbox(Msg *msg);
diff -ur kannel-1.4.0/gw/smsbox.c kannel-1.4.0-spell/gw/smsbox.c
--- kannel-1.4.0/gw/smsbox.c 2004-08-07 12:23:50.000000000 +0100
+++ kannel-1.4.0-spell/gw/smsbox.c 2004-08-11 02:02:23.325260648 +0100
@@ -2188,7 +2188,7 @@
/* add the receiver to the failed list */
list_append(failed_id, receiv);
} else {
- /* log the sending as successfull for this particular message */
+ /* log the sending as successful for this particular message */
alog("send-SMS request added - sender:%s:%s %s target:%s request: '%s'",
octstr_get_cstr(urltrans_username(t)),
octstr_get_cstr(newfrom), octstr_get_cstr(client_ip),
@@ -2572,8 +2572,8 @@
/*
- * Create and send an SMS message from an XML-RPC request.
- * Answer with a valid XML-RPC response for a successfull request.
+ * Create and send an SMS message from a XML-RPC request.
+ * Answer with a valid XML-RPC response for a successful request.
*
* function signature: boolean sms.send(struct)
*
diff -ur kannel-1.4.0/gw/smsc/smpp_pdu.c kannel-1.4.0-spell/gw/smsc/smpp_pdu.c
--- kannel-1.4.0/gw/smsc/smpp_pdu.c 2004-03-27 17:55:43.000000000 +0000
+++ kannel-1.4.0-spell/gw/smsc/smpp_pdu.c 2004-08-11 02:06:57.529575256 +0100
@@ -103,11 +103,11 @@
nul = octstr_search_char(os, '\0', *pos);
if (nul == -1) {
- warning(0, "SMPP: PDU NUL terminated string has no NUL.");
+ warning(0, "SMPP: PDU NULL terminated string has no NULL.");
return NULL;
}
if (*pos + max_octets < nul) {
- error(0, "SMPP: PDU NUL terminated string longer than allowed.");
+ error(0, "SMPP: PDU NULL terminated string longer than allowed.");
return NULL;
}
data = (nul - *pos > 0) ? octstr_copy(os, *pos, nul - *pos) : NULL;
@@ -236,7 +236,7 @@
#define NULTERMINATED(name, max_octets) \
if (p->name != NULL) { \
if (octstr_len(p->name) >= max_octets) { \
- warning(0, "SMPP: PDU element <%s> to long " \
+ warning(0, "SMPP: PDU element <%s> too long " \
"(length is %ld, should be %d)", \
#name, octstr_len(p->name), max_octets); \
temp = octstr_copy(p->name, 0, max_octets-1); \
diff -ur kannel-1.4.0/gw/smsc/smsc_at.c kannel-1.4.0-spell/gw/smsc/smsc_at.c
--- kannel-1.4.0/gw/smsc/smsc_at.c 2004-01-22 14:08:24.000000000 +0000
+++ kannel-1.4.0-spell/gw/smsc/smsc_at.c 2004-08-11 01:43:54.855577608 +0100
@@ -850,7 +850,7 @@
* There are two ways we can fix this :
* (a) Just read the last message location, delete it and return.
* It's not a complete solution since holes can still be created if messages
- * are recieved between the memory check and the delete command,
+ * are received between the memory check and the delete command,
* and anyway - it will slow us down and won't hold well under pressure
* (b) Just scan the entire memory each call, bottom to top.
* This will be slow too, but it'll be reliable.
diff -ur kannel-1.4.0/gw/smsc/smsc_emi.c kannel-1.4.0-spell/gw/smsc/smsc_emi.c
--- kannel-1.4.0/gw/smsc/smsc_emi.c 2004-02-16 19:41:26.000000000 +0000
+++ kannel-1.4.0-spell/gw/smsc/smsc_emi.c 2004-08-11 01:32:08.543064720 +0100
@@ -878,10 +878,10 @@
/*
* Handle OP/31 from SMSC side. This is not "purely" spec conform since,
- * the protocoll says "This operation can be used by a SMT to alert the SC.",
+ * the protocol says "This operation can be used by a SMT to alert the SC.",
* which implies semantically only the opposite way. For the sake of EMI/UCP
* server implementations that send alert messages to SMTs we handle this
- * without breaking any core protocoll concept.
+ * without breaking any core protocol concept.
*
* See [1], section 4.6, p. 19.
*/
diff -ur kannel-1.4.0/gw/smsc/smsc_http.c kannel-1.4.0-spell/gw/smsc/smsc_http.c
--- kannel-1.4.0/gw/smsc/smsc_http.c 2004-06-29 15:22:34.000000000 +0100
+++ kannel-1.4.0-spell/gw/smsc/smsc_http.c 2004-08-11 02:00:57.860253304 +0100
@@ -384,7 +384,7 @@
/* Test on three cases:
* 1. an smsbox reply of an remote kannel instance
* 2. an smsc_http response (if used for MT to MO looping)
- * 3. an smsbox reply of partly sucessfull sendings */
+ * 3. an smsbox reply of partly successful sendings */
if ((status == HTTP_OK || status == HTTP_ACCEPTED)
&& (octstr_case_compare(body, octstr_imm("Sent.")) == 0 ||
octstr_case_compare(body, octstr_imm("Ok.")) == 0 ||
diff -ur kannel-1.4.0/gw/smsc/smsc_p.h kannel-1.4.0-spell/gw/smsc/smsc_p.h
--- kannel-1.4.0/gw/smsc/smsc_p.h 2004-02-26 15:07:30.000000000 +0000
+++ kannel-1.4.0-spell/gw/smsc/smsc_p.h 2004-08-11 01:59:43.833507080 +0100
@@ -210,7 +210,7 @@
/* Is there an SMS message pending from an SMS center? Return -1 for
error, 0 for no, 1 for yes. This operation won't block, but may
- not be instantenous, if it has to read a few characters to see
+ not be instantaneous, if it has to read a few characters to see
if there is a message. Use smscenter_receive_smsmessage to actually receive
the message. */
int smscenter_pending_smsmessage(SMSCenter *smsc);
diff -ur kannel-1.4.0/gw/smsc/smsc_sema.c kannel-1.4.0-spell/gw/smsc/smsc_sema.c
--- kannel-1.4.0/gw/smsc/smsc_sema.c 2004-03-17 22:16:54.000000000 +0000
+++ kannel-1.4.0-spell/gw/smsc/smsc_sema.c 2004-08-11 01:42:03.186553880 +0100
@@ -301,11 +301,11 @@
return 1; /*success*/
}
else if(nret == SESSION_MT_RECEIVE_TIMEOUT){
- info(0, "sema_submit msg: session time out without return");
+ info(0, "sema_submit msg: session timed out without return");
return 0;
}
else if(nret == SESSION_MT_RECEIVE_ERR){
- info(0, "sema_submit msg: smsc say submit failed!");
+ info(0, "sema_submit msg: smsc says submit failed!");
return 0;
}
@@ -524,7 +524,7 @@
error(errno, "sema_open_data_link: error open(2)ing the character device <%s>",
device);
if(errno == EACCES)
- error(0, "sema_open_data_link: user have no right to access the serial device");
+ error(0, "sema_open_data_link: user has no right to access the serial device");
return -1;
}
@@ -691,14 +691,14 @@
readbuff[readall-2] == '\r') {
if(strstr(readbuff, smscbuff)) {
debug("smsc.sema", 0,
- "sema_open send link: smsc respond, virtual link established");
+ "sema_open send link: smsc responded, virtual link established");
x28_data_mode = X28_MT_DATA_MODE;
return 1;
}
}
usleep(1000);
}
- info(0,"sema_open_send_link: connecting time out");
+ info(0,"sema_open_send_link: connect timeout");
return 0;
error_overflow:
warning(0, "sema_open_send_link: command buffer overflow");
@@ -797,7 +797,7 @@
return writeall;
error:
- error(errno,"sema_send data error: device file erro");
+ error(errno,"sema_send data error: device file error");
return -1;
}
@@ -882,7 +882,7 @@
memset(from,0,len);
}
- /* check rest line for link state: command mode or data mode */
+ /* check rest of line for link state: command mode or data mode */
if(strstr(from,prompbuff) != NULL)
x28_data_mode = X28_COMMAND_MODE;
@@ -1087,7 +1087,7 @@
iret = sema_submit_result(smsc, mtrmsg, decoderesult);
if(iret == -1) goto error;
if(iTrcved == 1 &&
- report_invoke->status != 3){ /*3 means ,msg delivered*/
+ report_invoke->status != 3){ /*3 means msg delivered*/
info(0,"sema_mt_session: submit invoke failed with report value-%i",report_invoke->status);
gw_free(report_invoke);
goto smsc_say_fail;
@@ -1119,13 +1119,13 @@
memset(data,0,sizeof(data));
if(sema_wait_report == 0 && isrcved == 1)
{
- info(0,"sema_mt_session: submit invoke deliver successfully to smsc");
+ info(0,"sema_mt_session: submit invoke delivered successfully to smsc");
goto mo_success;
}
if(sema_wait_report > 0 &&
isrcved == 1 && iTrcved == 1)
{
- info(0,"sema_mt_session: submit invoke deliver sucessfully to msisdn");
+ info(0,"sema_mt_session: submit invoke delivered successfully to msisdn");
goto mo_success;
}
}
@@ -1133,7 +1133,7 @@
}
/* mo_timeout: */
- info(0,"sema_mt_session: time out without receive all expected return");
+ info(0,"sema_mt_session: timeout without receiving all expected returns");
moret = SESSION_MT_RECEIVE_TIMEOUT;
goto mo_return;
mo_success:
@@ -1223,7 +1223,7 @@
error(0,"sema_mo session: Msg decode failed");
return 0;
error:
- error(0,"sema_mo session: device file error or memory allocated problem!");
+ error(0,"sema_mo session: device file error or memory allocation problem!");
return -1;
}
@@ -1247,7 +1247,7 @@
if(cmsgtype != 's' /* invoke reseult */
&& cmsgtype != 'M' /* deliver invoke */
&& cmsgtype != 'T'){ /* report invoke */
- info(0,"sema_decode: msg type not support");
+ info(0,"sema_decode: msg type not supported");
goto error_msg;
}
@@ -1257,7 +1257,7 @@
&imsgencodetype,&imsgtopseg, &imsgfollownum);
if(iret == -1){
- info(0,"sema_decode: msg continue bit can not be interpret");
+ info(0,"sema_decode: msg continue bit can not be interpreted");
goto error_msg;
}
@@ -1342,7 +1342,7 @@
octetlen = 1;
receive_sm->DCS = get_variable_value(tmp, &octetlen);
if(receive_sm->DCS != ENCODE_IA5 && receive_sm->DCS !=ENCODE_GSM){
- info(0, "sema_decode, Data encoding scheme not support");
+ info(0, "sema_decode, Data encoding scheme not supported");
goto error_deliver;
}
/* protocol */
@@ -1492,7 +1492,7 @@
return 1;
no_msg:
- info(0,"sema_decode: msg in empty");
+ info(0,"sema_decode: msg is empty");
return 0;
error_receive:
gw_free(receive_report);
diff -ur kannel-1.4.0/gw/smsc/smsc_smasi.c kannel-1.4.0-spell/gw/smsc/smsc_smasi.c
--- kannel-1.4.0/gw/smsc/smsc_smasi.c 2004-06-07 09:17:28.000000000 +0100
+++ kannel-1.4.0-spell/gw/smsc/smsc_smasi.c 2004-08-11 01:32:23.462796576 +0100
@@ -60,7 +60,7 @@
* Stipe Tolj <[email protected]>
*
* This module connects to a CriticalPath InVoke SMS Center which
- * uses the SM/ASI protocoll.
+ * uses the SM/ASI protocol.
* The module is heavily based on the SMPP module design.
*
* TODO:
diff -ur kannel-1.4.0/gw/smsc/smsc_smpp.c kannel-1.4.0-spell/gw/smsc/smsc_smpp.c
--- kannel-1.4.0/gw/smsc/smsc_smpp.c 2004-07-18 17:31:38.000000000 +0100
+++ kannel-1.4.0-spell/gw/smsc/smsc_smpp.c 2004-08-11 01:55:12.602793176 +0100
@@ -624,7 +624,7 @@
(msg->sms.alt_dcs != SMS_PARAM_UNDEFINED ?
msg->sms.alt_dcs : smpp->conn->alt_dcs));
- /* set protocoll id */
+ /* set protocol id */
if(msg->sms.pid != SMS_PARAM_UNDEFINED)
pdu->u.submit_sm.protocol_id = msg->sms.pid;
@@ -1134,7 +1134,7 @@
/*
* bb_smscconn_receive can fail, but we ignore that since we
- * have no way to usefull tell the SMS center about this
+ * have no useful way to tell the SMS center about this
* (no suitable error code for the deliver_sm_resp is defined)
*/
diff -ur kannel-1.4.0/gw/smsc/smsc_soap.c kannel-1.4.0-spell/gw/smsc/smsc_soap.c
--- kannel-1.4.0/gw/smsc/smsc_soap.c 2004-07-09 15:13:55.000000000 +0100
+++ kannel-1.4.0-spell/gw/smsc/smsc_soap.c 2004-08-11 01:52:04.840337408 +0100
@@ -66,7 +66,7 @@
* 25/02/2002: implemented MT sending
* 09/05/2002: fixed problem crash when HTTP connection fails.
* send message back to bearerbox on HTTP failure instead of local queue
- * 19/05/2002: strip leading + from international numbers
+ * 19/05/2002: stripped leading + from international numbers
* 20/05/2002: fixed previous change
* changed Transaction Id returned to support 64 bit integers
* 27/05/2002: changed DLR creation to store the transaction ID instead of timestamp
@@ -87,7 +87,7 @@
* 05/09/2002: Changed dlr_add and http_start_request calls to support current CVS
* 26/09/2002: Added soap_fetch_xml_data
* 29/09/2002: Changed Ack/Nack to process case when Ack not return msg ID, move declaration to fix worning
- * 01/10/2002: start to change MO general
+ * 01/10/2002: started to change MO general
* 07/10/2002: MT generalization
*
* TODOs:
@@ -146,8 +146,8 @@
#define SOAP_ERROR_NO_DLR_MESSAGE "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<Error>Sorry - no DLR for that MT</Error>"
#define SOAP_ERROR_DLR_MESSAGE "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<Error>Fatal error while trying to parse delivery report</Error>"
#define SOAP_ERROR_MO_MESSAGE "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<Error>Fatal error while trying to parse incoming MO</Error>"
-#define SOAP_ERROR_NO_DATA_MESSAGE "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<Error>No data recieved</Error>"
-#define SOAP_ERROR_MALFORMED_DATA_MESSAGE "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<Error>Malformed data recieved</Error>"
+#define SOAP_ERROR_NO_DATA_MESSAGE "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<Error>No data received</Error>"
+#define SOAP_ERROR_MALFORMED_DATA_MESSAGE "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<Error>Malformed data received</Error>"
/* map HTTP status codes to SOAP HTTP reply codes */
#define SOAP_ERROR_NO_DLR_CODE HTTP_BAD_METHOD
@@ -274,11 +274,11 @@
/*
* SOAP internal utility functions
*/
-/* parse an integer out of an XML node */
+/* parse an integer out of a XML node */
int soap_xmlnode_get_long(xmlNodePtr cur, long *out);
-/* parse an int64 out of an XML node */
+/* parse an int64 out of a XML node */
int soap_xmlnode_get_int64(xmlNodePtr cur, int64 *out);
-/* parse a string out of an XML node */
+/* parse a string out of a XML node */
int soap_xmlnode_get_octstr(xmlNodePtr cur, Octstr **out);
/* convert a one2one date format to epoch time */
time_t soap_read_date(Octstr *dateString);
@@ -302,7 +302,7 @@
List *soap_create_map(Octstr* spec, long count, char* keywords[], char* types[], void* storage[]);
/* destroy a map structure */
void soap_destroy_map(void *item);
-/* map content in an XML structure to a list of variable using a spec file */
+/* map content in a XML structure to a list of variable using a spec file */
int soap_map_xml_data(xmlNodePtr xml, List* maps);
/* fetch content from the XML */
Octstr* soap_fetch_xml_data(xmlNodePtr xml, Octstr* path);
@@ -1008,7 +1008,7 @@
/*
* function soap_format_xml()
- * fill in the fields in an XML template with data from a message
+ * fill in the fields in a XML template with data from a message
* Input: Octstr containing an XML template, Msg structure
* Returns: Octstr xml formated data or NULL on error
*/
diff -ur kannel-1.4.0/gw/smsc/smsc_wrapper.c kannel-1.4.0-spell/gw/smsc/smsc_wrapper.c
--- kannel-1.4.0/gw/smsc/smsc_wrapper.c 2004-01-22 14:08:25.000000000 +0000
+++ kannel-1.4.0-spell/gw/smsc/smsc_wrapper.c 2004-08-11 01:47:20.333340240 +0100
@@ -264,7 +264,7 @@
/* Make sure we log into our own log-file if defined */
log_thread_to(conn->log_idx);
- /* send messages to SMSC until our putgoing_list is empty and
+ /* send messages to SMSC until our outgoing_list is empty and
* no producer anymore (we are set to shutdown) */
while(conn->status != SMSCCONN_DEAD) {
@@ -427,11 +427,11 @@
list_add_producer(wrap->stopped);
- /* XXX here we could fail things... especially if the second one
+ /* XXX here we could fail things... specially if the second one
* fails.. so fix this ASAP
*
* moreover, open should be in sender/receiver, so that we can continue
- * while tyring to open... maybe move this, or just wait for new
+ * while trying to open... maybe move this, or just wait for new
* implementations of various SMSC protocols
*/
diff -ur kannel-1.4.0/gw/wap-appl.c kannel-1.4.0-spell/gw/wap-appl.c
--- kannel-1.4.0/gw/wap-appl.c 2004-01-22 14:08:24.000000000 +0000
+++ kannel-1.4.0-spell/gw/wap-appl.c 2004-08-11 00:43:26.881066416 +0100
@@ -730,7 +730,7 @@
* request be obviously will not find any session machine entry. */
sm = find_session_machine_by_id(session_id);
- /* ensure we pass only the orginal headers to the convertion routine */
+ /* ensure we pass only the original headers to the convertion routine */
device_headers = (orig_event->type == S_MethodInvoke_Ind) ?
orig_event->u.S_MethodInvoke_Ind.request_headers :
orig_event->u.S_Unit_MethodInvoke_Ind.request_headers;
diff -ur kannel-1.4.0/gw/wap_push_pap_compiler.c kannel-1.4.0-spell/gw/wap_push_pap_compiler.c
--- kannel-1.4.0/gw/wap_push_pap_compiler.c 2004-01-22 14:08:24.000000000 +0000
+++ kannel-1.4.0-spell/gw/wap_push_pap_compiler.c 2004-08-11 02:01:50.228292152 +0100
@@ -1011,7 +1011,7 @@
/*
* When there is no legal address to be stored in field (either parsing was
- * unsuccessfull or an unimplemented address format was requested by the push
+ * unsuccessful or an unimplemented address format was requested by the push
* initiator) we use value "erroneous". This is necessary, because this a
* mandatory field.
*
diff -ur kannel-1.4.0/gw/wml_compiler.c kannel-1.4.0-spell/gw/wml_compiler.c
--- kannel-1.4.0/gw/wml_compiler.c 2004-04-21 11:45:35.000000000 +0100
+++ kannel-1.4.0-spell/gw/wml_compiler.c 2004-08-11 00:47:32.708694936 +0100
@@ -369,7 +369,7 @@
* charset definition.
*/
if ((encoding = find_charset_encoding(wml_text)) != NULL) {
- /* ok, we relly on the xml preamble encoding */
+ /* ok, we rely on the xml preamble encoding */
} else if (charset && octstr_len(charset) > 0) {
/* we had a HTTP response charset, use this */
encoding = octstr_duplicate(charset);
@@ -828,7 +828,7 @@
/*
* Beware that libxml2 does internal encoding in UTF-8 while parsing.
- * So if our orginal WML source had a different encoding set, we have
+ * So if our original WML source had a different encoding set, we have
* to transcode at least here. Only transcode if target encoding differs
* from libxml2's internal encoding (UTF-8).
*/
@@ -934,7 +934,7 @@
/*
* Beware that libxml2 does internal encoding in UTF-8 while parsing.
- * So if our orginal WML source had a different encoding set, we have
+ * So if our original WML source had a different encoding set, we have
* to transcode at least here. Only transcode if target encoding differs
* from libxml2's internal encoding (UTF-8).
*/
@@ -1260,7 +1260,7 @@
/*
* wml_binary_create - reserves memory for the wml_binary_t and sets the
- * fields to zeroes and NULLs.
+ * fields to zeros and NULLs.
*/
static wml_binary_t *wml_binary_create(void)
diff -ur kannel-1.4.0/gwlib/http.c kannel-1.4.0-spell/gwlib/http.c
--- kannel-1.4.0/gwlib/http.c 2004-06-03 15:02:08.000000000 +0100
+++ kannel-1.4.0-spell/gwlib/http.c 2004-08-11 02:02:47.044654752 +0100
@@ -1287,7 +1287,7 @@
p->url = octstr_duplicate(url);
p->scheme = octstr_duplicate(prefix);
- /* try to parse authentication seperator */
+ /* try to parse authentication separator */
at = octstr_search_char(url, '@', prefix_len);
if (at != -1) {
if ((slash == -1 || ( slash != -1 && at < slash))) {
@@ -1355,7 +1355,7 @@
return NULL;
}
- /* there was an authenticator seperator, so try to parse
+ /* there was an authenticator separator, so try to parse
* the username and password credentials */
if (at != -1) {
int at2;
@@ -2136,7 +2136,7 @@
client = client_create(ports[i], conn, client_ip);
conn_register(conn, server_fdset, receive_request, client);
} else {
- error(0, "HTTP: unsuccessfull SSL handshake for client `%s'",
+ error(0, "HTTP: unsuccessful SSL handshake for client `%s'",
octstr_get_cstr(client_ip));
octstr_destroy(client_ip);
}
@@ -2428,7 +2428,7 @@
octstr_destroy(response);
/* obey return code of conn_write() */
- /* sending response was successfull */
+ /* sending response was successful */
if (ret == 0) {
/* HTTP/1.0 or 1.1, hence keep-alive or keep-alive */
if (!client->persistent_conn) {
@@ -2672,7 +2672,7 @@
#define MAX_HEADER_LENGHT 256
/*
- * Aggregate header in one (or more) lines with several parameters seperated
+ * Aggregate header in one (or more) lines with several parameters separated
* by commas, instead of one header per parameter
*/
void http_header_pack(List *headers)
diff -ur kannel-1.4.0/gwlib/list.c kannel-1.4.0-spell/gwlib/list.c
--- kannel-1.4.0/gwlib/list.c 2004-06-28 10:53:38.000000000 +0100
+++ kannel-1.4.0-spell/gwlib/list.c 2004-08-11 01:46:39.119605680 +0100
@@ -74,7 +74,7 @@
* allocations: every time an item is added to the list, a new node would
* need to be allocated, and when it is removed, it would need to be freed.
* Using an array lets us reduce the number of allocations. It also lets
- * us access an arbitrary element in constant time, which is especially
+ * us access an arbitrary element in constant time, which is specially
* useful since it lets us simplify the list API by not adding iterators
* or an explicit list item type.
*
@@ -637,7 +637,7 @@
list->len -= count;
} else {
/*
- * This is not especially efficient, but it's simple and
+ * This is not specially efficient, but it's simple and
* works. Faster methods would have to take more special
* cases into account.
*/
diff -ur kannel-1.4.0/gwlib/mime.c kannel-1.4.0-spell/gwlib/mime.c
--- kannel-1.4.0/gwlib/mime.c 2004-01-26 15:04:24.000000000 +0000
+++ kannel-1.4.0-spell/gwlib/mime.c 2004-08-11 01:29:01.279911184 +0100
@@ -324,7 +324,7 @@
Octstr *cid = NULL;
/* we have still two linefeeds at the beginning and end that we
- * need to remove, these are from the seperator.
+ * need to remove, these are from the separator.
* We check if it is \n or \r\n?! */
if (octstr_get_char(entity, 0) == '\r')
octstr_delete(entity, 0, 2);
diff -ur kannel-1.4.0/gwlib/octstr.c kannel-1.4.0-spell/gwlib/octstr.c
--- kannel-1.4.0/gwlib/octstr.c 2004-06-28 10:53:38.000000000 +0100
+++ kannel-1.4.0-spell/gwlib/octstr.c 2004-08-11 01:16:46.060592112 +0100
@@ -185,7 +185,7 @@
size++; /* make room for the invisible terminating NUL */
if (size > ostr->size) {
- /* allways reallocate in 1kB chunks */
+ /* always reallocate in 1kB chunks */
size += 1024 - (size % 1024);
ostr->data = gw_realloc(ostr->data, size);
ostr->size = size;
diff -ur kannel-1.4.0/gwlib/utils.c kannel-1.4.0-spell/gwlib/utils.c
--- kannel-1.4.0/gwlib/utils.c 2004-06-14 21:55:07.000000000 +0100
+++ kannel-1.4.0-spell/gwlib/utils.c 2004-08-11 01:08:32.737172080 +0100
@@ -530,7 +530,7 @@
if (user && -1 == change_user(user))
panic(0, "Couldnot change to user `%s'.", user);
- /* deamonize */
+ /* daemonize */
if (daemonize && !become_daemon())
exit(0);
diff -ur kannel-1.4.0/install-sh kannel-1.4.0-spell/install-sh
--- kannel-1.4.0/install-sh 1999-12-30 14:58:54.000000000 +0000
+++ kannel-1.4.0-spell/install-sh 2004-08-11 00:48:20.242624968 +0100
@@ -125,7 +125,7 @@
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
-# might cause directories to be created, which would be especially bad
+# might cause directories to be created, which would be specially bad
# if $src (and thus $dsttmp) contains '*'.
if [ -f $src -o -d $src ]
diff -ur kannel-1.4.0/test/fakewap.c kannel-1.4.0-spell/test/fakewap.c
--- kannel-1.4.0/test/fakewap.c 2004-02-19 07:56:23.000000000 +0000
+++ kannel-1.4.0-spell/test/fakewap.c 2004-08-11 01:44:27.717581824 +0100
@@ -142,7 +142,7 @@
-p port port number of gateway (default: 9201)\n\
-m max maximum number of requests fakewap will make (default: 1)\n\
-i interval interval between requests (default: 1.0 seconds)\n\
--c threads number concurrent of clients simulated (default: 1)\n\
+-c threads number of concurrent clients simulated (default: 1)\n\
-V protoversion protocol version field, as an integer (default: 0)\n\
-T pdu-type PDU type, as an integer (default: 1)\n\
-t tcl transaction class, as an integer (default: 2)\n\
@@ -152,7 +152,7 @@
(default: off)\n\
-d difference difference between successive tid numbers (default: 1)\n\
-F Accept failure and continue rather than exiting\n\
--w Write/print recieved data (experimental)\n\
+-w Write/print received data (experimental)\n\
\n\
The urls are fetched in random order.\n\
";
diff -ur kannel-1.4.0/test/test_mime.c kannel-1.4.0-spell/test/test_mime.c
--- kannel-1.4.0/test/test_mime.c 2004-01-22 14:08:25.000000000 +0000
+++ kannel-1.4.0-spell/test/test_mime.c 2004-08-11 01:16:55.820108440 +0100
@@ -388,7 +388,7 @@
octstr_destroy(rdf_content);
gwlib_shutdown();
panic(0, "Stopping");
-/* return after panic allways required by gcc */
+/* return after panic always required by gcc */
return 1;
}
diff -ur kannel-1.4.0/wap/wtp_init_states.def kannel-1.4.0-spell/wap/wtp_init_states.def
--- kannel-1.4.0/wap/wtp_init_states.def 2004-01-22 14:08:25.000000000 +0000
+++ kannel-1.4.0-spell/wap/wtp_init_states.def 2004-08-11 00:30:56.752192000 +0100
@@ -83,7 +83,7 @@
* Tid verification in the initiator means answering the question posed by the
* responder: "Have you an outstanding transaction having this tid". If we do
* not have it, we have already, before feeding the event into the state
- * machine, sended an abort with reason INVALIDTID. So here we answer to an
+ * machine, sent an abort with reason INVALIDTID. So here we answer to an
* ack pdu with tidve-flag set with an ack pdu with tidok-flag set. See WTP
* 5.6, table 2; WTP 8.9; WTP 9.3.4.1.
*
diff -ur kannel-1.4.0/wap/wtp_resp_states.def kannel-1.4.0-spell/wap/wtp_resp_states.def
--- kannel-1.4.0/wap/wtp_resp_states.def 2004-01-22 14:08:25.000000000 +0000
+++ kannel-1.4.0-spell/wap/wtp_resp_states.def 2004-08-11 01:18:06.212407184 +0100
@@ -121,19 +121,19 @@
* In this case, the state changes to TIDOK_WAIT. WSP is indicated only after
* an acknowledgement is received. After a negative answer (Abort PDU) the
* transaction is teared down. Reliablity is quaranteed by resending, which
- * happens when WTP receives a resended invoke pdu, when its state TIDOK_WAIT.
+ * happens when WTP receives a resent invoke pdu, when its state TIDOK_WAIT.
* Abort pdu now means a negative answer to a question "have you a transaction
* having tid included in the tid verification message". So there is no need
* to indicate WSP.
*
* Error handling is mostly done before feeding an event to the state machine.
* However, when a pdu with an illegal header (header WTP does not understand)
- * is received, this is an special kind of event, because its handling depends
- * of the state. WTP must allways send an abort pdu. If a transaction is
+ * is received, this is a special kind of event, because its handling depends
+ * of the state. WTP must always send an abort pdu. If a transaction is
* established, it must be teared down. If WSP has been indicated about a
* transaction, WTP must do TR-Abort.ind.
*
- * There is two kind of aborts: by the peer, when it send abort pdu and by the
+ * There are two kind of aborts: by the peer, when it sends abort pdu and by the
* wsp, when it does a primitive TR-Abort.req. When WSP does an abort, WTP
* must send an abort pdu to the peer; when WTP receives an abort, WSP must be
* indicated (note, however, the special meaning abort pdu has in tid
diff -ur kannel-1.4.0/wmlscript/wmlsc.c kannel-1.4.0-spell/wmlscript/wmlsc.c
--- kannel-1.4.0/wmlscript/wmlsc.c 2004-01-22 14:08:25.000000000 +0000
+++ kannel-1.4.0-spell/wmlscript/wmlsc.c 2004-08-11 02:05:44.050745736 +0100
@@ -277,7 +277,7 @@
\n\
-a disassemble resulting byte-code and print it to the\n\
standard output\n\
- -d use ws_eval_data() function instead of ws_eval_file()\n\
+ -d use ws_eval_data() function instead of ws_eval_file()\n\
-h print this help message and exit successfully\n\
-l encode strings in ISO-8859/1 (ISO latin1) instead of using\n\
UTF-8\n\
diff -ur kannel-1.4.0/wmlscript/wsbc.h kannel-1.4.0-spell/wmlscript/wsbc.h
--- kannel-1.4.0/wmlscript/wsbc.h 2004-01-22 14:08:26.000000000 +0000
+++ kannel-1.4.0-spell/wmlscript/wsbc.h 2004-08-11 02:03:02.416317904 +0100
@@ -248,7 +248,7 @@
/* Add an integer constant `value' to the constant pool of the
byte-code structure `bc'. The index of the constant is returned in
`index_return'. The function returns WS_TRUE if the operation was
- successfull or WS_FALSE otherwise (out of memory). */
+ successful or WS_FALSE otherwise (out of memory). */
WsBool ws_bc_add_const_int(WsBc *bc, WsUInt16 *index_return,
WsInt32 value);
@@ -314,7 +314,7 @@
function takes a copy of the byte-code array `code'. The caller
can free / modify the original array, pointed by the argument
`code', after the function returns. The function returns WS_TRUE
- if the adding was successfull or WS_FALSE otherwise (out of
+ if the adding was successful or WS_FALSE otherwise (out of
memory). */
WsBool ws_bc_add_function(WsBc *bc, WsUInt8 *index_return,
char *name, WsUInt8 num_arguments,