From 696275bcc1a4337e40232d8eabf78709d31c9196 Mon Sep 17 00:00:00 2001 From: Joshua Colp <jcolp@digium.com> Date: Mon, 10 Jul 2006 19:58:33 +0000 Subject: [PATCH] Fixed. Done. Good. Make ast_join work like it used to. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37348 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/strings.h | 2 +- utils.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asterisk/strings.h b/include/asterisk/strings.h index b6ad77c4fc..6750a278d7 100644 --- a/include/asterisk/strings.h +++ b/include/asterisk/strings.h @@ -226,7 +226,7 @@ int ast_false(const char *val); string. It will also place a space in the result buffer in between each string from 'w'. */ -void ast_join(char *s, size_t len, const char *w[]); +void ast_join(char *s, size_t len, char * const w[]); /* \brief Parse a time (integer) string. diff --git a/utils.c b/utils.c index bdb022e422..74d4854c40 100644 --- a/utils.c +++ b/utils.c @@ -1050,7 +1050,7 @@ char *ast_process_quotes_and_slashes(char *start, char find, char replace_with) return dataPut; } -void ast_join(char *s, size_t len, const char *w[]) +void ast_join(char *s, size_t len, char * const w[]) { int x, ofs = 0; const char *src; -- GitLab