Browse Source

dispatcher: fix typo in documentation and code comments

Mikko Lehto 8 years ago
parent
commit
46ee44af4f

+ 1 - 1
src/modules/dispatcher/dispatch.c

@@ -3428,7 +3428,7 @@ int ds_get_state(int group, str *address, str *iuid)
 }
 
 /**
- * Update destionation's state
+ * Update destination's state
  */
 int ds_update_state(sip_msg_t *msg, int group, str *address, str *iuid,
 		int state, int mode, ds_rctx_t *rctx)

+ 1 - 1
src/modules/dispatcher/dispatch.h

@@ -282,7 +282,7 @@ typedef struct _ds_set {
 
 typedef struct _ds_select_state {
 	int setid;  /* dispatcher set id (group id) */
-	int alg;    /* algorithm to select destionations */
+	int alg;    /* algorithm to select destinations */
 	int umode;  /* update mode - push to: r-uri, d-uri, xavp */
 	uint32_t limit; /* limit of destination addresses to be selected */
 	int cnt;    /* output: number of xavps set with destination addresses */

+ 1 - 1
src/modules/dispatcher/doc/dispatcher.cfg

@@ -275,7 +275,7 @@ route[DISPATCH] {
 	exit;
 }
 
-# Try next destionations in failure route
+# Try next destinations in failure route
 failure_route[RTF_DISPATCH] {
 	if (t_is_canceled()) {
 		exit;