Fix misspellings of separate (bug #3607)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-02-16 02:58:18 +00:00
parent ad3558498f
commit f9222e7e4b
10 changed files with 11 additions and 11 deletions

2
app.c
View File

@@ -1053,7 +1053,7 @@ int ast_app_group_match_get_count(char *groupmatch, char *category)
return count; return count;
} }
int ast_seperate_app_args(char *buf, char delim, char **array, int arraylen) int ast_separate_app_args(char *buf, char delim, char **array, int arraylen)
{ {
int x = 0; int x = 0;
memset(array, 0, arraylen * sizeof(char *)); memset(array, 0, arraylen * sizeof(char *));

View File

@@ -20,7 +20,7 @@
#include <string.h> #include <string.h>
#include <pthread.h> #include <pthread.h>
static char *tdesc = "Fork The CDR into 2 seperate entities."; static char *tdesc = "Fork The CDR into 2 separate entities.";
static char *app = "ForkCDR"; static char *app = "ForkCDR";
static char *synopsis = static char *synopsis =
"Forks the Call Data Record"; "Forks the Call Data Record";

View File

@@ -41,7 +41,7 @@ static char *synopsis = "Park and Announce";
static char *descrip = static char *descrip =
" ParkAndAnnounce(announce:template|timeout|dial|[return_context]):\n" " ParkAndAnnounce(announce:template|timeout|dial|[return_context]):\n"
"Park a call into the parkinglot and announce the call over the console.\n" "Park a call into the parkinglot and announce the call over the console.\n"
"announce template: colon seperated list of files to announce, the word PARKED\n" "announce template: colon separated list of files to announce, the word PARKED\n"
" will be replaced by a say_digits of the ext the call is parked in\n" " will be replaced by a say_digits of the ext the call is parked in\n"
"timeout: time in seconds before the call returns into the return context.\n" "timeout: time in seconds before the call returns into the return context.\n"
"dial: The app_dial style resource to call to make the announcement. Console/dsp calls the console.\n" "dial: The app_dial style resource to call to make the announcement. Console/dsp calls the console.\n"

View File

@@ -76,7 +76,7 @@ static int read_exec(struct ast_channel *chan, void *data)
if (data) if (data)
argcopy = ast_strdupa((char *)data); argcopy = ast_strdupa((char *)data);
if (ast_seperate_app_args(argcopy, '|', args, sizeof(args) / sizeof(args[0])) < 1) { if (ast_separate_app_args(argcopy, '|', args, sizeof(args) / sizeof(args[0])) < 1) {
ast_log(LOG_WARNING, "Cannot Parse Arguements.\n"); ast_log(LOG_WARNING, "Cannot Parse Arguements.\n");
return -1; return -1;
} }

View File

@@ -177,7 +177,7 @@ tos=lowdelay
; ;
; codecpriority controls the codec negotiation of an inbound IAX call. ; codecpriority controls the codec negotiation of an inbound IAX call.
; This option is inherited to all user entities. It can also be defined ; This option is inherited to all user entities. It can also be defined
; in each user entity seperately which will override the setting in general. ; in each user entity separately which will override the setting in general.
; ;
; The valid values are: ; The valid values are:
; ;

View File

@@ -84,7 +84,7 @@ mode=immediate
; two other devices, which are in group '1' and are used when an ; two other devices, which are in group '1' and are used when an
; outgoing dial used: exten => s,1,Dial,Modem/g1:1234|60|r ; outgoing dial used: exten => s,1,Dial,Modem/g1:1234|60|r
; (we do not need more outgoing devices, since ISDN2 has only 2 channels.) ; (we do not need more outgoing devices, since ISDN2 has only 2 channels.)
; Lines can be in more than one group (0-63); comma seperated list. ; Lines can be in more than one group (0-63); comma separated list.
; ;
group=1 ; group=1,2,3,9-12 group=1 ; group=1,2,3,9-12
;msn=50780023 ;msn=50780023

View File

@@ -270,7 +270,7 @@ static const struct mach_header *get_mach_header_from_NSModule(NSModule * mod)
* trying to locate a module. We first look at the values of LD_LIBRARY_PATH * trying to locate a module. We first look at the values of LD_LIBRARY_PATH
* and DYLD_LIBRARY_PATH, and then finally fall back to looking into * and DYLD_LIBRARY_PATH, and then finally fall back to looking into
* /usr/lib and /lib. Since both of the environments variables can contain a * /usr/lib and /lib. Since both of the environments variables can contain a
* list of colon seperated paths, we simply concat them and the two other paths * list of colon separated paths, we simply concat them and the two other paths
* into one big string, which we then can easily parse. * into one big string, which we then can easily parse.
* Splitting this string into the actual path list is done by getSearchPath() * Splitting this string into the actual path list is done by getSearchPath()
*/ */

View File

@@ -95,7 +95,7 @@ int ast_app_group_get_count(char *group, char *category);
int ast_app_group_match_get_count(char *groupmatch, char *category); int ast_app_group_match_get_count(char *groupmatch, char *category);
/*! Create an argc argv type structure for app args */ /*! Create an argc argv type structure for app args */
int ast_seperate_app_args(char *buf, char delim, char **array, int arraylen); int ast_separate_app_args(char *buf, char delim, char **array, int arraylen);
/*! Present a dialtone and collect a certain length extension. Returns 1 on valid extension entered, -1 on hangup, or 0 on invalid extension. */ /*! Present a dialtone and collect a certain length extension. Returns 1 on valid extension entered, -1 on hangup, or 0 on invalid extension. */
int ast_app_dtget(struct ast_channel *chan, const char *context, char *collect, size_t size, int maxlen, int timeout); int ast_app_dtget(struct ast_channel *chan, const char *context, char *collect, size_t size, int maxlen, int timeout);

View File

@@ -111,9 +111,9 @@ struct ast_modem_pvt {
char context[AST_MAX_EXTENSION]; char context[AST_MAX_EXTENSION];
/*! Multiple Subscriber Number */ /*! Multiple Subscriber Number */
char msn[AST_MAX_EXTENSION]; char msn[AST_MAX_EXTENSION];
/*! Multiple Subscriber Number we listen to (; seperated list) */ /*! Multiple Subscriber Number we listen to (; separated list) */
char incomingmsn[AST_MAX_EXTENSION]; char incomingmsn[AST_MAX_EXTENSION];
/*! Multiple Subscriber Number we accept for outgoing calls (; seperated list) */ /*! Multiple Subscriber Number we accept for outgoing calls (; separated list) */
char outgoingmsn[AST_MAX_EXTENSION]; char outgoingmsn[AST_MAX_EXTENSION];
/*! Group(s) we belong to if available */ /*! Group(s) we belong to if available */
ast_group_t group; ast_group_t group;

View File

@@ -13,7 +13,7 @@
* This set of function allow us to play a list of tones on a channel. * This set of function allow us to play a list of tones on a channel.
* Each element has two frequencies, which are mixed together and a * Each element has two frequencies, which are mixed together and a
* duration. For silence both frequencies can be set to 0. * duration. For silence both frequencies can be set to 0.
* The playtones can be given as a comma seperated string. * The playtones can be given as a comma separated string.
*/ */
#include <stdio.h> #include <stdio.h>