Дилян Палаузов 2 anni fa
parent
commit
437b435c86

+ 8 - 8
utils/db_berkeley/kambdb_recover.c

@@ -184,7 +184,7 @@ int create_all(void)
  * file_list --
  * returns a sorted linkedlist of all files in d
  *
- * parmameter d is the directory name
+ * parameter d is the directory name
  * parameter tn is optional,
  * 	if tablename (tn) is specified returns only jnl files for tablename (tn)
  *	else returns a sorted linkedlist of all files in d
@@ -390,13 +390,13 @@ int recover(char* jfn)
 	
 #ifdef EXTRA_DEBUG
 	printf("Processed journal file: %s.\n", jfn);
-	printf("INSERT   %i records.\n",ci);
-	printf("UPDATE   %i records.\n",cu);
-	printf("DELETE   %i records.\n",cd);
-	printf("SKIPed   %i records.\n",cs);
+	printf("INSERT    %i records.\n", ci);
+	printf("UPDATE    %i records.\n", cu);
+	printf("DELETE    %i records.\n", cd);
+	printf("SKIPped   %i records.\n", cs);
 	printf("------------------------\n");
-	printf("Total    %i records.\n",i);
-	
+	printf("Total     %i records.\n", i);
+
 	tim2 = time(NULL);
 	i = tim2 - tim1;
 	printf("took %i sec\n", i);
@@ -472,7 +472,7 @@ int recover_all(int lastn)
 /**
 * extract_key -- uses the internal schema to extract the key from the data
 * 	row that was found in the journal.
-* caller provides inititialize memory for destination key (k).
+* caller provides initialized memory for destination key (k).
 * data is provided ; key is filled in 
 */
 int extract_key(table_p tp, char* k, char* d)

+ 1 - 1
utils/kamcmd/kamcmd.8

@@ -40,4 +40,4 @@ see
 .BR kamailio.cfg(5)
 .PP
 Full documentation about kamailio is available at
-.I http://www.kamailio.org/.
+.I https://www.kamailio.org/.

+ 1 - 1
utils/kamcmd/kamcmd.c

@@ -634,7 +634,7 @@ static int binrpc_errno = 0;
  * returns < 0 on error, reply size on success + initializes in_pkt
  * if ret==-2 (parse error), sets binrpc_errno to the binrpc error
  * error returns: -1 - read error (check errno)
- *                -2 - binrpc parse error (chekc binrpc_errno)
+ *                -2 - binrpc parse error (check binrpc_errno)
  *                -3 - cookie error (the cookied doesn't match)
  *                -4 - message too big */
 static int get_reply(int s, unsigned char *reply_buf, int max_reply_size,

+ 1 - 1
utils/kamctl/kamctl.base

@@ -579,7 +579,7 @@ USAGE_FUNCTIONS="$USAGE_FUNCTIONS usage_mtree"
 
 usage_acc() {
 	echo
-	mecho " -- command 'acc' - manage accounding records"
+	mecho " -- command 'acc' - manage accounting records"
 	echo
 cat <<EOF
  acc initdb .................. init acc table by adding extra columns

+ 4 - 4
utils/kamunix/kamunix.8

@@ -19,7 +19,7 @@ This is a binary alternative to the textual FIFO interface.
 .B kamunix
 reads from standard input one
 .B Kamailio
-command along with its paramters (if any) and prints the response
+command along with its parameters (if any) and prints the response
 to standard output.
 
 .SH PARAMETERS
@@ -46,11 +46,11 @@ see
 .BR kamailio(8), kamailio.cfg(5), kamctl(8)
 .PP
 Full documentation on Kamailio is available at
-.I http://www.kamailio.org/.
+.I https://www.kamailio.org/.
 .PP
 Mailing lists:
 .nf
[email protected] - Kamailio user community
+sr-[email protected] - Kamailio user community
 .nf
-devel@lists.kamailio.org - Kamailio development, new features and unstable version
+sr-[email protected] - Kamailio development, new features and unstable version
 

+ 1 - 1
utils/pdbt/docs/network_protocol.txt

@@ -12,7 +12,7 @@ in network byte order (most significant byte first).
 Possible values for the search request:
   * 0: the number could not be found
   * 1-999 the number was found and the result represents its carrier ID
-  * 1000: the number could be found, but its owned from a carriers which is
+  * 1000: the number could be found, but it is owned from a carrier which is
     not interesting for us and belongs to the "other carrier" group
 
 

+ 2 - 1
utils/pdbt/pdbt.c

@@ -416,7 +416,8 @@ int merge_carrier_recursor(struct dt_node_t *node, int keep_carriers_num, carrie
 			sum++;
 			if (lastcarrier==0) node->carrier=0; /* first carrier we encountered. we can remove it since we are not interested in it. */
 			else {
-				node->carrier=OTHER_CARRIERID; /* we already have a carrier we are interested in. this is an exception, set it to a special carrier id. */
+				/* We already have a carrier we are interested in. This is an exception, set it to a special carrier id. */
+				node->carrier = OTHER_CARRIERID;
 			}
 		}
 	}