Mercurial > hg > freeDiameter
changeset 1228:e5010975da35
Fix typo in comment.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Thu, 18 Jul 2013 14:45:37 +0200 |
parents | 34c2ae08176f |
children | 4e52f009861a |
files | contrib/app_acct_tools/README doc/app_acct.conf.sample doc/dbg_interactive.py.sample doc/test_app.conf.sample libfdcore/messages.c libfdcore/sctp.c |
diffstat | 6 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/app_acct_tools/README Wed Jul 17 18:48:53 2013 +0200 +++ b/contrib/app_acct_tools/README Thu Jul 18 14:45:37 2013 +0200 @@ -20,7 +20,7 @@ This PHP script processes the records pertaining to users sessions, as follow: * when a session is complete (STOP record received), it stores a session summary into the processed records table (see process_database.sql file for format). - * It optionaly archives the processed records into a different table, before deleting them. + * It optionally archives the processed records into a different table, before deleting them. * It can also move records of unterminated sessions that are older than a configurable time to an orphan_records table, so that they are not re-processed every time. This orphans table must have the same structure as the "incoming" table.
--- a/doc/app_acct.conf.sample Wed Jul 17 18:48:53 2013 +0200 +++ b/doc/app_acct.conf.sample Thu Jul 18 14:45:37 2013 +0200 @@ -67,12 +67,12 @@ # Example: Table = "incoming"; # Timestamp_field: -# Optionaly, you can specify a name of a field that will receive the value 'now' when a new record is inserted. +# Optionally, you can specify a name of a field that will receive the value 'now' when a new record is inserted. # Default: no timestamp is inserted. # Example: Timestamp_field = "recorded_on"; # Server_name_field: -# Optionaly, you can specify a field which will receive the Diameter Identity of the local server for each record saved. +# Optionally, you can specify a field which will receive the Diameter Identity of the local server for each record saved. # This is useful especially if you have several Accounting servers and want to check Load-Balancing behavior or so, # after aggregating all the data. # Default: no server name inserted.
--- a/doc/dbg_interactive.py.sample Wed Jul 17 18:48:53 2013 +0200 +++ b/doc/dbg_interactive.py.sample Thu Jul 18 14:45:37 2013 +0200 @@ -467,7 +467,7 @@ mydwr = msg(buf) mydwr.send() -# Optionaly, a callback can be registered when a request is sent, with an optional object. +# Optionally, a callback can be registered when a request is sent, with an optional object. # This callback takes the answer message as parameter and should return None or a message. (cf. fd_msg_send) def send_callback(msg, obj): print "Received answer:" @@ -479,7 +479,7 @@ mydwr = msg(buf) mydwr.send(send_callback, some_object) -# Again optionaly, a time limit can be specified in this case as follow: +# Again optionally, a time limit can be specified in this case as follow: mydwr.send(send_callback, some_object, 10) # In that case, if no answer / error is received after 10 seconds (the value specified), # the callback is called with the request as parameter.
--- a/doc/test_app.conf.sample Wed Jul 17 18:48:53 2013 +0200 +++ b/doc/test_app.conf.sample Thu Jul 18 14:45:37 2013 +0200 @@ -48,7 +48,7 @@ # When this keyword appears, it changes the behavior as follow: # - server is silent on message reception, only the activity summary is displayed every 30 seconds # - client attempts to send as many messages as possible during 10 seconds and counts them. -# The benchmark keyword can be followed optionaly by two integers: +# The benchmark keyword can be followed optionally by two integers: # duration is the time for the measurement, in seconds (default 10). # concurrency is the number of messages that can be on the wire before waiting for an answer (default 100). # benchmark [duration concurrency];
--- a/libfdcore/messages.c Wed Jul 17 18:48:53 2013 +0200 +++ b/libfdcore/messages.c Thu Jul 18 14:45:37 2013 +0200 @@ -335,7 +335,7 @@ return 0; } -/* Send a message and optionaly register a callback for an answer */ +/* Send a message and optionally register a callback for an answer */ int fd_msg_send ( struct msg ** pmsg, void (*anscb)(void *, struct msg **), void * data ) { TRACE_ENTRY("%p %p %p", pmsg, anscb, data);
--- a/libfdcore/sctp.c Wed Jul 17 18:48:53 2013 +0200 +++ b/libfdcore/sctp.c Thu Jul 18 14:45:37 2013 +0200 @@ -963,7 +963,7 @@ return ret; } -/* Retrieve streams information from a connected association -- optionaly provide the primary address */ +/* Retrieve streams information from a connected association -- optionally provide the primary address */ int fd_sctp_get_str_info( int sock, uint16_t *in, uint16_t *out, sSS *primary ) { struct sctp_status status;