changeset 1197:823829bf1037

Couple of typos in the comments
author Sebastien Decugis <sdecugis@freediameter.net>
date Tue, 11 Jun 2013 17:53:35 +0800
parents 9ff57791a5ab
children 8c4dd4b693c6
files doc/rt_default.conf.sample doc/test_app.conf.sample libfdcore/sctp.c
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/doc/rt_default.conf.sample	Tue Jun 11 14:46:58 2013 +0800
+++ b/doc/rt_default.conf.sample	Tue Jun 11 17:53:35 2013 +0800
@@ -20,7 +20,7 @@
 # discovery extension).
 #
 # The default forwarding behavior of freeDiameter is:
-# - if the message contains a Destination-Host AVP, and this the designated peer is an eligible candidate, send to this peer.
+# - if the message contains a Destination-Host AVP, and the designated peer is an eligible candidate, send to this peer.
 # - if a peer does not support the message application or Relay application, give it a penalty for this message 
 #    (it means that unless overwritten by an extension, the message will not be sent to that peer)
 # - if one of the eligible peer advertised a realm matching the message's Destination-Realm, send to this peer.
--- a/doc/test_app.conf.sample	Tue Jun 11 14:46:58 2013 +0800
+++ b/doc/test_app.conf.sample	Tue Jun 11 17:53:35 2013 +0800
@@ -1,6 +1,6 @@
 #######################
 # This file contains the description of configuration and general information about the
-# "App_test" extension.
+# "test_app" extension.
 
 # This extension provides a simple way to send a predefined message over the Diameter Network.
 # It may be used to test the Routing or other base mechanisms from the Diameter network.
@@ -63,5 +63,5 @@
 # user-name = "user@server.foreign.net";
 
 # The signal that triggers sending the test message
-# Note: Symbolic names are now recognized, you must use integers
+# Note: Symbolic names are not recognized, you must use integers
 # signal = 10;
--- a/libfdcore/sctp.c	Tue Jun 11 14:46:58 2013 +0800
+++ b/libfdcore/sctp.c	Tue Jun 11 17:53:35 2013 +0800
@@ -250,7 +250,7 @@
 			fd_log_debug( "Def SCTP_NODELAY value : %s", nodelay ? "true" : "false");
 		}
 
-		nodelay = 1;	/* We turn ON the Nagle algorithm (probably the default already), since we might have several messages to send through the same proxy (not the same session). */
+		nodelay = 1;	/* We turn ON to disable the Nagle algorithm, so that packets are sent ASAP. */
 		
 		/* Set the option to the socket */
 		CHECK_SYS(  setsockopt(sk, IPPROTO_SCTP, SCTP_NODELAY, &nodelay, sizeof(nodelay))  );
"Welcome to our mercurial repository"