aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-10 19:58:33 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-10 19:58:33 +0000
commit7e6cbb15c739507082d7871e5db379553f5d1177 (patch)
treee9426a755f48d903e0e7e6cbce70619d0a76e19b
parenta4d2b77ff07913acea46c914f7424e38de10d778 (diff)
Fixed. Done. Good. Make ast_join work like it used to.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37348 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--include/asterisk/strings.h2
-rw-r--r--utils.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/strings.h b/include/asterisk/strings.h
index b6ad77c4f..6750a278d 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 bdb022e42..74d4854c4 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;