Allow functions to be written to (bug #2278, with mods)
[asterisk/asterisk.git] / cdr.c
diff --git a/cdr.c b/cdr.c
index d230113..3dc4909 100755 (executable)
--- a/cdr.c
+++ b/cdr.c
@@ -204,7 +204,7 @@ void ast_cdr_getvar(struct ast_cdr *cdr, const char *name, char **ret, char *wor
        }
 }
 
-int ast_cdr_setvar(struct ast_cdr *cdr, const char *name, char *value, int recur) 
+int ast_cdr_setvar(struct ast_cdr *cdr, const char *name, const char *value, int recur) 
 {
        struct ast_var_t *newvariable;
     struct varshead *headp;