aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_adsiprog.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-08 03:43:14 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-08 03:43:14 +0000
commit9bb3dbb0c4436ffa28b49c9c038298d1126d33c9 (patch)
tree1370117a39ad458deb73f043d8648afe4191e7e1 /apps/app_adsiprog.c
parentd8bb70fc267b8fa4e010065ea32539ced584f2f6 (diff)
Fix typos in adsiprog and thus remove compiler warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@975 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_adsiprog.c')
-rwxr-xr-xapps/app_adsiprog.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/app_adsiprog.c b/apps/app_adsiprog.c
index df0881fc5..696b1cd77 100755
--- a/apps/app_adsiprog.c
+++ b/apps/app_adsiprog.c
@@ -988,7 +988,7 @@ static int adsi_process(struct adsi_script *state, char *buf, char *script, int
break;
}
if (process_token(vname, args, sizeof(vname) - 1, ARG_STRING)) {
- ast_log(LOG_WARNING "'%s' is not a valid token for a KEY name at line %d of %s\n", args, lineno, script);
+ ast_log(LOG_WARNING, "'%s' is not a valid token for a KEY name at line %d of %s\n", args, lineno, script);
break;
}
state->key = getkeybyname(state, vname, script, lineno);
@@ -1011,7 +1011,7 @@ static int adsi_process(struct adsi_script *state, char *buf, char *script, int
break;
}
if (process_token(tmp, args, sizeof(tmp) - 1, ARG_STRING)) {
- ast_log(LOG_WARNING "'%s' is not a valid token for a KEY short name at line %d of %s\n", args, lineno, script);
+ ast_log(LOG_WARNING, "'%s' is not a valid token for a KEY short name at line %d of %s\n", args, lineno, script);
break;
}
args = get_token(&buf, script, lineno);
@@ -1026,7 +1026,7 @@ static int adsi_process(struct adsi_script *state, char *buf, char *script, int
break;
}
if (process_token(tmp2, args, sizeof(tmp2) - 1, ARG_STRING)) {
- ast_log(LOG_WARNING "'%s' is not a valid token for a KEY long name at line %d of %s\n", args, lineno, script);
+ ast_log(LOG_WARNING, "'%s' is not a valid token for a KEY long name at line %d of %s\n", args, lineno, script);
break;
}
} else {
@@ -1066,7 +1066,7 @@ static int adsi_process(struct adsi_script *state, char *buf, char *script, int
break;
}
if (process_token(vname, args, sizeof(vname) - 1, ARG_STRING)) {
- ast_log(LOG_WARNING "'%s' is not a valid token for a KEY name at line %d of %s\n", args, lineno, script);
+ ast_log(LOG_WARNING, "'%s' is not a valid token for a KEY name at line %d of %s\n", args, lineno, script);
break;
}
state->sub = getsubbyname(state, vname, script, lineno);
@@ -1104,7 +1104,7 @@ static int adsi_process(struct adsi_script *state, char *buf, char *script, int
break;
}
if (process_token(vname, args, sizeof(vname) - 1, ARG_STRING)) {
- ast_log(LOG_WARNING "'%s' is not a valid token for a STATE name at line %d of %s\n", args, lineno, script);
+ ast_log(LOG_WARNING, "'%s' is not a valid token for a STATE name at line %d of %s\n", args, lineno, script);
break;
}
if (getstatebyname(state, vname, script, lineno, 0)) {
@@ -1119,7 +1119,7 @@ static int adsi_process(struct adsi_script *state, char *buf, char *script, int
break;
}
if (process_token(vname, args, sizeof(vname) - 1, ARG_STRING)) {
- ast_log(LOG_WARNING "'%s' is not a valid token for a FLAG name at line %d of %s\n", args, lineno, script);
+ ast_log(LOG_WARNING, "'%s' is not a valid token for a FLAG name at line %d of %s\n", args, lineno, script);
break;
}
if (getflagbyname(state, vname, script, lineno, 0)) {
@@ -1136,7 +1136,7 @@ static int adsi_process(struct adsi_script *state, char *buf, char *script, int
break;
}
if (process_token(vname, args, sizeof(vname) - 1, ARG_STRING)) {
- ast_log(LOG_WARNING "'%s' is not a valid token for a KEY name at line %d of %s\n", args, lineno, script);
+ ast_log(LOG_WARNING, "'%s' is not a valid token for a KEY name at line %d of %s\n", args, lineno, script);
break;
}
if (getdisplaybyname(state, vname, script, lineno, 0)) {