[asterisk-commits] file: trunk r41357 - /trunk/main/cdr.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Aug 30 08:15:06 MST 2006
Author: file
Date: Wed Aug 30 10:15:06 2006
New Revision: 41357
URL: http://svn.digium.com/view/asterisk?rev=41357&view=rev
Log:
Print what read-only variable is being set so that the user doesn't have to guess and figure it out or look at the list in cdr.c and match it up (issue #7831 reported by sedwards)
Modified:
trunk/main/cdr.c
Modified: trunk/main/cdr.c
URL: http://svn.digium.com/view/asterisk/trunk/main/cdr.c?rev=41357&r1=41356&r2=41357&view=diff
==============================================================================
--- trunk/main/cdr.c (original)
+++ trunk/main/cdr.c Wed Aug 30 10:15:06 2006
@@ -290,7 +290,7 @@
for(x = 0; cdr_readonly_vars[x]; x++) {
if (!strcasecmp(name, cdr_readonly_vars[x])) {
- ast_log(LOG_ERROR, "Attempt to set a read-only variable!.\n");
+ ast_log(LOG_ERROR, "Attempt to set the '%s' read-only variable!.\n", name);
return -1;
}
}
More information about the asterisk-commits
mailing list