# HG changeset patch # User Thomas Klausner # Date 1374151537 -7200 # Node ID e5010975da35a408cf5dabcc47482972b5500a9c # Parent 34c2ae08176fa8e7756a18548dbef5489fa14fbe Fix typo in comment. diff -r 34c2ae08176f -r e5010975da35 contrib/app_acct_tools/README --- 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. diff -r 34c2ae08176f -r e5010975da35 doc/app_acct.conf.sample --- 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. diff -r 34c2ae08176f -r e5010975da35 doc/dbg_interactive.py.sample --- 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. diff -r 34c2ae08176f -r e5010975da35 doc/test_app.conf.sample --- 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]; diff -r 34c2ae08176f -r e5010975da35 libfdcore/messages.c --- 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); diff -r 34c2ae08176f -r e5010975da35 libfdcore/sctp.c --- 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;