aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-19 15:53:32 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-19 15:53:32 +0000
commit6f1c54ba5c901972c6f9dd99ae5a1857a750c553 (patch)
tree8a2d17801f476c506f7913a2166faa65f90ce0bf
parent8e311576e0c99395ead07f1a17a420b202b56e84 (diff)
Print out the correct filename (features.conf) in the log message when parkpos options are incorrect.
(closes issue #11295) Reported by: Laureano Patches: res_features.c.patch uploaded by Laureano (license 265) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89419 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--res/res_features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c
index ab9422306..35eb3f3b6 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -2244,7 +2244,7 @@ static int load_config(void)
parkingtime = parkingtime * 1000;
} else if (!strcasecmp(var->name, "parkpos")) {
if (sscanf(var->value, "%d-%d", &start, &end) != 2) {
- ast_log(LOG_WARNING, "Format for parking positions is a-b, where a and b are numbers at line %d of parking.conf\n", var->lineno);
+ ast_log(LOG_WARNING, "Format for parking positions is a-b, where a and b are numbers at line %d of features.conf\n", var->lineno);
} else {
parking_start = start;
parking_stop = end;